Private GIT

Skip to content
Snippets Groups Projects
Commit 7df659a3 authored by Ruud's avatar Ruud
Browse files

Kickasstorrent fix #156

parent b2ad1f12
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ class KickAssTorrents(TorrentProvider): ...@@ -127,7 +127,7 @@ class KickAssTorrents(TorrentProvider):
return tryInt(age) return tryInt(age)
def download(self, url = '', nzb_id = ''): def download(self, url = '', nzb_id = ''):
compressed_data = super(KickAssTorrents, self).download(url = url, nzb_id = nzb_id) compressed_data = self.urlopen(url = url, headers = {'Referer': 'http://kat.ph/'})
compressedstream = StringIO.StringIO(compressed_data) compressedstream = StringIO.StringIO(compressed_data)
gzipper = gzip.GzipFile(fileobj = compressedstream) gzipper = gzip.GzipFile(fileobj = compressedstream)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment