mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Ported vertor plugin to the new API
This commit is contained in:
parent
57c1df1d1e
commit
8def5c5a1b
@ -3,5 +3,5 @@ torrentreactor: 1.3
|
|||||||
btjunkie: 2.31
|
btjunkie: 2.31
|
||||||
mininova: 1.40
|
mininova: 1.40
|
||||||
piratebay: 1.40
|
piratebay: 1.40
|
||||||
vertor: 1.1
|
vertor: 1.2
|
||||||
torrentdownloads: 1.06
|
torrentdownloads: 1.06
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#VERSION: 1.1
|
#VERSION: 1.2
|
||||||
#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
|
||||||
@ -62,6 +62,7 @@ class vertor(object):
|
|||||||
self.current_item['link']=params['href'].strip()
|
self.current_item['link']=params['href'].strip()
|
||||||
elif self.td_counter == 0 and params.has_key('href') and params['href'].startswith("/torrents/") \
|
elif self.td_counter == 0 and params.has_key('href') and params['href'].startswith("/torrents/") \
|
||||||
and not self.current_item.has_key('name'):
|
and not self.current_item.has_key('name'):
|
||||||
|
self.current_item['desc_link']='http://www.vertor.com'+params['href'].strip()
|
||||||
self.in_name = True
|
self.in_name = True
|
||||||
|
|
||||||
def end_a(self):
|
def end_a(self):
|
||||||
@ -121,4 +122,4 @@ class vertor(object):
|
|||||||
if len(results) <= 0:
|
if len(results) <= 0:
|
||||||
break
|
break
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user