From 06cd41801ee1dd75cd6e2816ee1636cd2b9015e4 Mon Sep 17 00:00:00 2001 From: ngosang Date: Sat, 23 Apr 2016 22:37:19 +0200 Subject: [PATCH] [Search engine] Fix Mininova plugin --- src/searchengine/nova/engines/mininova.py | 5 ++++- src/searchengine/nova/engines/versions.txt | 2 +- src/searchengine/nova3/engines/mininova.py | 5 ++++- src/searchengine/nova3/engines/versions.txt | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/searchengine/nova/engines/mininova.py b/src/searchengine/nova/engines/mininova.py index 485af2170..b001d89f1 100644 --- a/src/searchengine/nova/engines/mininova.py +++ b/src/searchengine/nova/engines/mininova.py @@ -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): 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"] = "" diff --git a/src/searchengine/nova/engines/versions.txt b/src/searchengine/nova/engines/versions.txt index 1f01857d3..116f6b024 100644 --- a/src/searchengine/nova/engines/versions.txt +++ b/src/searchengine/nova/engines/versions.txt @@ -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 diff --git a/src/searchengine/nova3/engines/mininova.py b/src/searchengine/nova3/engines/mininova.py index 86205f267..3e241d114 100644 --- a/src/searchengine/nova3/engines/mininova.py +++ b/src/searchengine/nova3/engines/mininova.py @@ -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): 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"] = "" diff --git a/src/searchengine/nova3/engines/versions.txt b/src/searchengine/nova3/engines/versions.txt index c713b35fc..a2cb946a0 100644 --- a/src/searchengine/nova3/engines/versions.txt +++ b/src/searchengine/nova3/engines/versions.txt @@ -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