Send CP header when downloading from newznab

This commit is contained in:
Ruud
2015-01-11 00:25:51 +01:00
parent 12148217a2
commit 601f0b54cf

View File

@@ -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: