Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
  • 467f94772f53df53874cb81cf0dad2a8c0e0db5d
  • master default protected
  • fix_nzb_cat
  • develop
  • guessit2-minimal
  • ssl_warning
  • UHD-qualities
  • fix_providers8
  • !
  • tvvault
  • provider_alpharatio
  • v5.1.1
  • v5.1
  • v5.0.3
  • v5.0.2
  • v5.0.1
  • v5.0
  • v4.2.1.07
  • v4.2.1.06
  • v4.2.1.05
  • v4.2.1.04
  • v4.2.1.03
  • v4.2.1.02
  • v4.2.1.01
  • v4.2.1.0
  • v4.2.0.6
  • v4.2.0.5
  • v4.2.0.4
  • v4.2.0.3
  • v4.2.0.2
  • v4.2.0.1
31 results

tvcache.py

  • Dustyn Gibson's avatar
    ddffe651
    Proxy and session fixes: · ddffe651
    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
    ddffe651
    History
    Proxy and session fixes:
    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