mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 09:47:08 +03:00
Ported the torrentreactor plugin to the new API
This commit is contained in:
parent
694f7b172a
commit
57c1df1d1e
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#VERSION: 1.21
|
#VERSION: 1.3
|
||||||
#AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net)
|
#AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net)
|
||||||
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
|
|
||||||
|
@ -53,6 +53,8 @@ class torrentreactor(object):
|
||||||
self.current_item = {}
|
self.current_item = {}
|
||||||
self.td_counter = 0
|
self.td_counter = 0
|
||||||
self.current_item['link'] = params['href'].strip()
|
self.current_item['link'] = params['href'].strip()
|
||||||
|
elif params['href'].startswith('/torrents/'):
|
||||||
|
self.current_item['desc_link'] = 'http://www.torrentreactor.net'+params['href'].strip()
|
||||||
|
|
||||||
def handle_data(self, data):
|
def handle_data(self, data):
|
||||||
if self.td_counter == 0:
|
if self.td_counter == 0:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
isohunt: 1.4
|
isohunt: 1.4
|
||||||
torrentreactor: 1.21
|
torrentreactor: 1.3
|
||||||
btjunkie: 2.31
|
btjunkie: 2.31
|
||||||
mininova: 1.40
|
mininova: 1.40
|
||||||
piratebay: 1.40
|
piratebay: 1.40
|
||||||
|
|
Loading…
Reference in a new issue