1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 06:45:05 -05:00

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
This commit is contained in:
Jeroen 2014-12-18 08:04:33 +01:00
parent 514e9d848f
commit 4039c928eb

View File

@ -61,9 +61,9 @@ class ThePirateBayProvider(generic.TorrentProvider):
self.proxy = ThePirateBayWebproxy() 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<id>\d+)/(?P<title>.*?)//1".+?(?P<url>magnet.*?)//1".+?(?P<seeders>\d+)</td>.+?(?P<leechers>\d+)</td>' self.re_title_url = '/torrent/(?P<id>\d+)/(?P<title>.*?)//1".+?(?P<url>magnet.*?)//1".+?(?P<seeders>\d+)</td>.+?(?P<leechers>\d+)</td>'