Browse Source

[Search engine] Update legittorrents plugin

adaptive-webui-19844
ngosang 8 years ago
parent
commit
5d0cfc7475
  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.01
#VERSION: 2.02
#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 "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"
elif tag == "tr":

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

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

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

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.01
#VERSION: 2.02
#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 "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"
elif tag == "tr":

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

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

Loading…
Cancel
Save