Browse Source

[Search engine] Fix LegitTorrents plugin

adaptive-webui-19844
ngosang 9 years ago
parent
commit
e542f17809
  1. 4
      src/searchengine/nova/engines/legittorrents.py
  2. 2
      src/searchengine/nova/engines/versions.txt
  3. 4
      src/searchengine/nova3/engines/legittorrents.py
  4. 2
      src/searchengine/nova3/engines/versions.txt

4
src/searchengine/nova/engines/legittorrents.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.00
#VERSION: 2.01
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Douman (custparasite@gmx.se)
@ -61,7 +61,7 @@ class legittorrents(object): @@ -61,7 +61,7 @@ class legittorrents(object):
elif link.startswith("download"):
self.current_item["link"] = "/".join((self.url, link))
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"
elif tag == "tr":

2
src/searchengine/nova/engines/versions.txt

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

4
src/searchengine/nova3/engines/legittorrents.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.00
#VERSION: 2.01
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Douman (custparasite@gmx.se)
@ -61,7 +61,7 @@ class legittorrents(object): @@ -61,7 +61,7 @@ class legittorrents(object):
elif link.startswith("download"):
self.current_item["link"] = "/".join((self.url, link))
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"
elif tag == "tr":

2
src/searchengine/nova3/engines/versions.txt

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

Loading…
Cancel
Save