User agent missing for nzbmatrix. fix #388
This commit is contained in:
1 parent
16e4ed6c5d
commit
90be81bc37
1 file changed
+3
@@ -99,6 +99,9 @@ class NZBMatrix(NZBProvider, RSS):
|
|||||||
|
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
def download(self, url = '', nzb_id = ''):
|
||||||
|
return self.urlopen(url, headers = {'User-Agent': Env.getIdentifier()})
|
||||||
|
|
||||||
def getApiExt(self):
|
def getApiExt(self):
|
||||||
return '&username=%s&apikey=%s' % (self.conf('username'), self.conf('api_key'))
|
return '&username=%s&apikey=%s' % (self.conf('username'), self.conf('api_key'))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user