1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 06:18:05 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Hidden Z
d5052d2aa0 py-i2phosts-fetcher: don't invoke injector with "-a"
Better let admin to use injector's config for this.
2010-11-05 16:20:00 +00:00
Hidden Z
0819e15db8 py-i2phosts-*: do imports from system-wide pyi2phosts 2010-11-03 20:28:08 +00:00
Hidden Z
833b370d35 py-i2phosts-fetcher: use validate_config() 2010-11-02 16:19:18 +00:00
Hidden Z
50386d3f70 py-i2phosts-fetcher: update last_success only after injector's run 2010-11-02 16:09:31 +00:00
Hidden Z
999ad9577f py-i2phosts-fetcher: use temp files for storing fetched content 2010-11-02 16:07:08 +00:00
Hidden Z
c4535f353a py-i2phosts-fetcher: stop using check_logger_options() 2010-11-01 21:21:26 +00:00
Hidden Z
5957ee9bbe py-i2phosts-fetcher: remove unneeded import 2010-10-31 20:48:40 +00:00
Hidden Z
94f885a7b8 py-i2phosts-fetcher: assume that injector in PATH 2010-10-31 20:43:18 +00:00
Hidden Z
b92c03643d py-i2phosts-fetcher: use check_logger_options() 2010-10-31 19:51:08 +00:00
Hidden Z
a5e938b74c py-i2phosts-fetcher: integrate with django and use 'extsources'
- fetcher now takes sources list for fetch from django instead of config
- Info from Last-Modified and ETag are stored in database now
- fetcher now supports ETag
2010-10-31 12:30:29 +00:00
Hidden Z
08eedf6f2d py-i2phosts-fetcher: log injector's output 2010-10-30 18:03:04 +00:00
Hidden Z
802c79b156 py-i2phosts-fetcher: add debug message 2010-10-30 17:59:57 +00:00
Hidden Z
af60e019f8 py-i2phosts-fetcher: handle httplib errors when fetching data 2010-10-30 17:57:34 +00:00
Hidden Z
a7d98d8cf5 py-i2phosts-fetcher: replace print() and sys.std*() with log.<level>() 2010-10-30 17:55:37 +00:00
Hidden Z
31e1cb0706 py-i2phosts-fetcher: add logger using our get_logger() 2010-10-30 17:53:39 +00:00
Hidden Z
522cbd468c py-i2phosts-fetcher: read configuration options from config file 2010-10-30 17:52:52 +00:00
Hidden Z
dd46733afd py-i2phosts-fetcher: add command-line options support 2010-10-30 17:48:04 +00:00
Hidden Z
3f35ae2011 py-i2phosts-fetcher: call injector with '-a' 2010-10-28 19:34:35 +00:00
Hidden Z
e0e6113808 py-i2phosts-fetcher: add log message 2010-10-27 15:36:51 +00:00
Hidden Z
4bd9b7883f py-i2phosts-fetcher: use os.path.mtime() for getting mtime
This is more efficient way than os.stat because it returns just mtime,
not full stat() info.
2010-10-20 23:05:35 +06:00
Hidden Z
1054426a91 py-i2phosts-fetcher: simple hosts.txt fetcher
It fetches files from remote hosts using urllib2 and local eeproxy and
runs py-i2phosts-injector for each downloaded file.
2010-10-20 22:46:46 +06:00