1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-13 08:17:57 +00:00

[Search engine] Fix LegitTorrents plugin

This commit is contained in:
ngosang 2016-04-23 23:18:48 +02:00
parent 06cd41801e
commit e542f17809
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 2.00 #VERSION: 2.01
#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 "class" in params and params["class"].startswith("#FF"): if "width" in params and params["width"] == "30":
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

@ -2,7 +2,7 @@ btdigg: 1.31
demonoid: 1.2 demonoid: 1.2
extratorrent: 2.04 extratorrent: 2.04
kickasstorrents: 1.28 kickasstorrents: 1.28
legittorrents: 2.00 legittorrents: 2.01
mininova: 2.02 mininova: 2.02
piratebay: 2.14 piratebay: 2.14
torlock: 2.0 torlock: 2.0

View File

@ -1,4 +1,4 @@
#VERSION: 2.00 #VERSION: 2.01
#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 "class" in params and params["class"].startswith("#FF"): if "width" in params and params["width"] == "30":
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

@ -2,7 +2,7 @@ btdigg: 1.31
demonoid: 1.2 demonoid: 1.2
extratorrent: 2.04 extratorrent: 2.04
kickasstorrents: 1.28 kickasstorrents: 1.28
legittorrents: 2.00 legittorrents: 2.01
mininova: 2.02 mininova: 2.02
piratebay: 2.14 piratebay: 2.14
torlock: 2.0 torlock: 2.0