1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-10 12:21:12 +00:00

[Search engine] Update legittorrents plugin

This commit is contained in:
ngosang 2017-04-20 21:17:24 +02:00
parent 339b35c369
commit 5d0cfc7475
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 2.01 #VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Douman (custparasite@gmx.se) # Douman (custparasite@gmx.se)
@ -61,7 +61,7 @@ class legittorrents(object):
elif link.startswith("download"): elif link.startswith("download"):
self.current_item["link"] = "/".join((self.url, link)) self.current_item["link"] = "/".join((self.url, link))
elif tag == "td": elif tag == "td":
if "width" in params and params["width"] == "30": if "width" in params and params["width"] == "30" and not "leech" in self.current_item:
self.save_item_key = "leech" if "seeds" in self.current_item else "seeds" self.save_item_key = "leech" if "seeds" in self.current_item else "seeds"
elif tag == "tr": elif tag == "tr":

View File

@ -1,6 +1,6 @@
demonoid: 1.23 demonoid: 1.23
extratorrent: 3.10 extratorrent: 3.10
legittorrents: 2.01 legittorrents: 2.02
piratebay: 2.15 piratebay: 2.15
torlock: 2.0 torlock: 2.0
torrentz: 2.22 torrentz: 2.22

View File

@ -1,4 +1,4 @@
#VERSION: 2.01 #VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Douman (custparasite@gmx.se) # Douman (custparasite@gmx.se)
@ -61,7 +61,7 @@ class legittorrents(object):
elif link.startswith("download"): elif link.startswith("download"):
self.current_item["link"] = "/".join((self.url, link)) self.current_item["link"] = "/".join((self.url, link))
elif tag == "td": elif tag == "td":
if "width" in params and params["width"] == "30": if "width" in params and params["width"] == "30" and not "leech" in self.current_item:
self.save_item_key = "leech" if "seeds" in self.current_item else "seeds" self.save_item_key = "leech" if "seeds" in self.current_item else "seeds"
elif tag == "tr": elif tag == "tr":

View File

@ -1,6 +1,6 @@
demonoid: 1.23 demonoid: 1.23
extratorrent: 3.10 extratorrent: 3.10
legittorrents: 2.01 legittorrents: 2.02
piratebay: 2.15 piratebay: 2.15
torlock: 2.0 torlock: 2.0
torrentz: 2.22 torrentz: 2.22