mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Ported torrentdownloads plugin to the new API
This commit is contained in:
parent
8def5c5a1b
commit
ddf5779756
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#VERSION: 1.06
|
#VERSION: 1.1
|
||||||
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
|
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -81,6 +81,7 @@ class torrentdownloads(object):
|
||||||
if params.has_key('href') and params['href'].startswith("http://www.torrentdownloads.net/torrent/"):
|
if params.has_key('href') and params['href'].startswith("http://www.torrentdownloads.net/torrent/"):
|
||||||
self.current_item = {}
|
self.current_item = {}
|
||||||
self.li_counter = 0
|
self.li_counter = 0
|
||||||
|
self.current_item['desc_link'] = params['href'].strip()
|
||||||
self.current_item['link']=params['href'].strip().replace('/torrent', '/download', 1)
|
self.current_item['link']=params['href'].strip().replace('/torrent', '/download', 1)
|
||||||
|
|
||||||
def handle_data(self, data):
|
def handle_data(self, data):
|
||||||
|
|
|
@ -4,4 +4,4 @@ btjunkie: 2.31
|
||||||
mininova: 1.40
|
mininova: 1.40
|
||||||
piratebay: 1.40
|
piratebay: 1.40
|
||||||
vertor: 1.2
|
vertor: 1.2
|
||||||
torrentdownloads: 1.06
|
torrentdownloads: 1.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue