mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Merge pull request #124 from Supremicus/feature/PirateBayWorkaround
Change ThePirateBay to use oldpiratebay
This commit is contained in:
commit
7e0275037d
2 changed files with 4 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
* Add lowercase PM to the General Config/Interface/Time style selection
|
||||
* Change General Config/Interface/Trim zero padding to Trim date and time, now handles 2:00 pm > 2 pm
|
||||
* Fix trim zero of military time hour to not use 12 hr time
|
||||
* Change ThePirateBay to use oldpiratebay as a temporary fix
|
||||
|
||||
[develop changelog]
|
||||
|
||||
|
|
|
@ -61,11 +61,11 @@ class ThePirateBayProvider(generic.TorrentProvider):
|
|||
|
||||
self.proxy = ThePirateBayWebproxy()
|
||||
|
||||
self.url = 'http://pirateproxy.net/'
|
||||
self.url = 'http://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 = 'href=["\'](?P<url>magnet:.*?)&.*?/torrent/(?P<id>\d+)/(?P<title>.*?)".+?seeders-row sy">(?P<seeders>\d+)</td>.+?leechers-row ly">(?P<leechers>\d+)</td>'
|
||||
|
||||
def isEnabled(self):
|
||||
return self.enabled
|
||||
|
|
Loading…
Reference in a new issue