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