Hidden Z
0819e15db8
py-i2phosts-*: do imports from system-wide pyi2phosts
14 years ago
Hidden Z
833b370d35
py-i2phosts-fetcher: use validate_config()
14 years ago
Hidden Z
50386d3f70
py-i2phosts-fetcher: update last_success only after injector's run
14 years ago
Hidden Z
999ad9577f
py-i2phosts-fetcher: use temp files for storing fetched content
14 years ago
Hidden Z
c4535f353a
py-i2phosts-fetcher: stop using check_logger_options()
14 years ago
Hidden Z
5957ee9bbe
py-i2phosts-fetcher: remove unneeded import
14 years ago
Hidden Z
94f885a7b8
py-i2phosts-fetcher: assume that injector in PATH
14 years ago
Hidden Z
b92c03643d
py-i2phosts-fetcher: use check_logger_options()
14 years ago
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
14 years ago
Hidden Z
08eedf6f2d
py-i2phosts-fetcher: log injector's output
14 years ago
Hidden Z
802c79b156
py-i2phosts-fetcher: add debug message
14 years ago
Hidden Z
af60e019f8
py-i2phosts-fetcher: handle httplib errors when fetching data
14 years ago
Hidden Z
a7d98d8cf5
py-i2phosts-fetcher: replace print() and sys.std*() with log.<level>()
14 years ago
Hidden Z
31e1cb0706
py-i2phosts-fetcher: add logger using our get_logger()
14 years ago
Hidden Z
522cbd468c
py-i2phosts-fetcher: read configuration options from config file
14 years ago
Hidden Z
dd46733afd
py-i2phosts-fetcher: add command-line options support
14 years ago
Hidden Z
3f35ae2011
py-i2phosts-fetcher: call injector with '-a'
14 years ago
Hidden Z
e0e6113808
py-i2phosts-fetcher: add log message
14 years ago
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.
14 years ago
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.
14 years ago