Browse Source

Merge pull request #5749 from yezezey/master

fixed extratorrent search not working v.3.3.7 #5736
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
bec4617128
  1. 6
      src/searchengine/nova/engines/extratorrent.py
  2. 2
      src/searchengine/nova/engines/versions.txt
  3. 6
      src/searchengine/nova3/engines/extratorrent.py
  4. 2
      src/searchengine/nova3/engines/versions.txt

6
src/searchengine/nova/engines/extratorrent.py

@ -1,4 +1,4 @@
#VERSION: 2.04 #VERSION: 2.05
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #AUTHORS: Christophe Dumez (chris@qbittorrent.org)
#CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) #CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -125,9 +125,7 @@ class extratorrent(object):
def handle_data(self, data): def handle_data(self, data):
if self.cur_item_name: if self.cur_item_name:
temp = self.current_item[self.cur_item_name] self.current_item[self.cur_item_name] = data
self.current_item[self.cur_item_name] = " ".join((temp, data))
#Due to utf-8 we need to handle data two times if there is space
if not self.cur_item_name == "size": if not self.cur_item_name == "size":
self.cur_item_name = None self.cur_item_name = None

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

@ -1,5 +1,5 @@
demonoid: 1.21 demonoid: 1.21
extratorrent: 2.04 extratorrent: 2.05
legittorrents: 2.01 legittorrents: 2.01
mininova: 2.02 mininova: 2.02
piratebay: 2.15 piratebay: 2.15

6
src/searchengine/nova3/engines/extratorrent.py

@ -1,4 +1,4 @@
#VERSION: 2.04 #VERSION: 2.05
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #AUTHORS: Christophe Dumez (chris@qbittorrent.org)
#CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) #CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -125,9 +125,7 @@ class extratorrent(object):
def handle_data(self, data): def handle_data(self, data):
if self.cur_item_name: if self.cur_item_name:
temp = self.current_item[self.cur_item_name] self.current_item[self.cur_item_name] = data
self.current_item[self.cur_item_name] = " ".join((temp, data))
#Due to utf-8 we need to handle data two times if there is space
if not self.cur_item_name == "size": if not self.cur_item_name == "size":
self.cur_item_name = None self.cur_item_name = None

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

@ -1,5 +1,5 @@
demonoid: 1.21 demonoid: 1.21
extratorrent: 2.04 extratorrent: 2.05
legittorrents: 2.01 legittorrents: 2.01
mininova: 2.02 mininova: 2.02
piratebay: 2.15 piratebay: 2.15

Loading…
Cancel
Save