Private GIT

Skip to content
Snippets Groups Projects
Commit 9081e77f authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Also fix TPB via proxy when using direct client connection

parent 635c2d1e
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,7 @@ class ThePirateBayProvider(generic.TorrentProvider): ...@@ -239,7 +239,7 @@ class ThePirateBayProvider(generic.TorrentProvider):
if not data: if not data:
continue continue
re_title_url = self.proxy._buildRE(self.re_title_url) re_title_url = self.proxy._buildRE(self.re_title_url).replace('&f=norefer', '')
matches = re.compile(re_title_url, re.DOTALL).finditer(urllib.unquote(data)) matches = re.compile(re_title_url, re.DOTALL).finditer(urllib.unquote(data))
for torrent in matches: for torrent in matches:
title = torrent.group('title').replace('_', title = torrent.group('title').replace('_',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment