Browse Source

Send CP header when downloading from newznab

pull/4513/head
Ruud 10 years ago
parent
commit
601f0b54cf
  1. 2
      couchpotato/core/media/_base/providers/nzb/newznab.py

2
couchpotato/core/media/_base/providers/nzb/newznab.py

@ -183,7 +183,7 @@ class Base(NZBProvider, RSS):
return 'try_next'
try:
data = self.urlopen(url, show_error = False)
data = self.urlopen(url, show_error = False, headers = {'User-Agent': Env.getIdentifier()})
self.limits_reached[host] = False
return data
except HTTPError as e:

Loading…
Cancel
Save