mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-13 15:19:29 +01:00
rutracker fix
This commit is contained in:
@@ -176,7 +176,7 @@ class Rutracker(object):
|
||||
cookie = {'bb_dl': torrent_id}
|
||||
try:
|
||||
headers = {'Referer': url}
|
||||
r = self.session.get(url=downloadurl, cookies=cookie, headers=headers, timeout=self.timeout)
|
||||
r = self.session.post(url=downloadurl, cookies=cookie, headers=headers, timeout=self.timeout)
|
||||
return r.content
|
||||
except Exception as e:
|
||||
logger.error('Error getting torrent: %s', e)
|
||||
|
||||
Reference in New Issue
Block a user