Browse Source

[Search engine] Fix Mininova plugin

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

5
src/searchengine/nova/engines/mininova.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.01
#VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
#CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -90,6 +90,9 @@ class mininova(object): @@ -90,6 +90,9 @@ class mininova(object):
if ("class", "g") in attrs:
self.cur_item_name = "seeds"
self.current_item["seeds"] = ""
elif ("class", "r") in attrs:
self.cur_item_name = "seeds"
self.current_item["seeds"] = ""
elif ("class", "b") in attrs:
self.cur_item_name = "leech"
self.current_item["leech"] = ""

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

@ -3,7 +3,7 @@ demonoid: 1.2 @@ -3,7 +3,7 @@ demonoid: 1.2
extratorrent: 2.04
kickasstorrents: 1.28
legittorrents: 2.00
mininova: 2.01
mininova: 2.02
piratebay: 2.14
torlock: 2.0
torrentreactor: 1.41

5
src/searchengine/nova3/engines/mininova.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.01
#VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
#CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -90,6 +90,9 @@ class mininova(object): @@ -90,6 +90,9 @@ class mininova(object):
if ("class", "g") in attrs:
self.cur_item_name = "seeds"
self.current_item["seeds"] = ""
elif ("class", "r") in attrs:
self.cur_item_name = "seeds"
self.current_item["seeds"] = ""
elif ("class", "b") in attrs:
self.cur_item_name = "leech"
self.current_item["leech"] = ""

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

@ -3,7 +3,7 @@ demonoid: 1.2 @@ -3,7 +3,7 @@ demonoid: 1.2
extratorrent: 2.04
kickasstorrents: 1.28
legittorrents: 2.00
mininova: 2.01
mininova: 2.02
piratebay: 2.14
torlock: 2.0
torrentreactor: 1.41

Loading…
Cancel
Save