mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Ported ThePirateBay plugin to the new API
This commit is contained in:
parent
c14deec893
commit
384eaf54ef
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#VERSION: 1.30
|
#VERSION: 1.40
|
||||||
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
||||||
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ class piratebay(object):
|
||||||
self.current_item = {}
|
self.current_item = {}
|
||||||
self.td_counter = 0
|
self.td_counter = 0
|
||||||
self.code = params['href'].split('/')[2]
|
self.code = params['href'].split('/')[2]
|
||||||
|
self.current_item['desc_link'] = 'http://thepiratebay.org'+params['href'].strip()
|
||||||
self.in_name = True
|
self.in_name = True
|
||||||
elif params['href'].startswith('http://torrents.thepiratebay.org/%s'%self.code):
|
elif params['href'].startswith('http://torrents.thepiratebay.org/%s'%self.code):
|
||||||
self.current_item['link']=params['href'].strip()
|
self.current_item['link']=params['href'].strip()
|
||||||
|
|
|
@ -2,6 +2,6 @@ isohunt: 1.32
|
||||||
torrentreactor: 1.21
|
torrentreactor: 1.21
|
||||||
btjunkie: 2.31
|
btjunkie: 2.31
|
||||||
mininova: 1.40
|
mininova: 1.40
|
||||||
piratebay: 1.30
|
piratebay: 1.40
|
||||||
vertor: 1.1
|
vertor: 1.1
|
||||||
torrentdownloads: 1.06
|
torrentdownloads: 1.06
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue