Select Git revision
-
Dustyn Gibson authored
Move duplicate code to a new method, to set up a default set of session parameters Remove referer from header is not using proxy Add referer when using global proxy setting too, not just provider proxy use `with closing()` when reading from a stream based get, because we could return without reading all of the content No need to define self.session in providers, it's defined in generic __init__ tvcache.getRSSFeed only proxied 1 scheme, use the url for both until we can add a sickbeard.HTTPS_PROXY_SETTING
Dustyn Gibson authoredMove duplicate code to a new method, to set up a default set of session parameters Remove referer from header is not using proxy Add referer when using global proxy setting too, not just provider proxy use `with closing()` when reading from a stream based get, because we could return without reading all of the content No need to define self.session in providers, it's defined in generic __init__ tvcache.getRSSFeed only proxied 1 scheme, use the url for both until we can add a sickbeard.HTTPS_PROXY_SETTING
tvcache.py 14.54 KiB