From 4039c928eb3c7af0463312059ce65acf761f524f Mon Sep 17 00:00:00 2001 From: Jeroen Date: Thu, 18 Dec 2014 08:04:33 +0100 Subject: [PATCH] Updated piratebay.py with oldpiratebay.org urls Thanks to 'nizzle' who was so kind to provide these changes on SickRage forums: https://sickrage.tv/forums/forum/main-category/main-forum/15133-piratebay-down-way-to-use-oldpiratebay-org?p=15276#post15276 --- sickbeard/providers/thepiratebay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/providers/thepiratebay.py b/sickbeard/providers/thepiratebay.py index 8e3c3ab7..b982c37b 100644 --- a/sickbeard/providers/thepiratebay.py +++ b/sickbeard/providers/thepiratebay.py @@ -61,9 +61,9 @@ class ThePirateBayProvider(generic.TorrentProvider): self.proxy = ThePirateBayWebproxy() - self.url = 'http://pirateproxy.net/' + self.url = 'https://oldpiratebay.org/' - self.searchurl = self.url + 'search/%s/0/7/200' # order by seed + self.searchurl = self.url + 'search.php?q=%s&Torrent_sort=seeders.desc' # order by seed self.re_title_url = '/torrent/(?P\d+)/(?P.*?)//1".+?(?P<url>magnet.*?)//1".+?(?P<seeders>\d+)</td>.+?(?P<leechers>\d+)</td>'