Browse Source

Fix issues when searching for something with {*} in the name

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
b1b2a2c775
  1. 5
      src/search_engine/engines/btjunkie.py
  2. 5
      src/search_engine/engines/isohunt.py
  3. 4
      src/search_engine/engines/versions.txt

5
src/search_engine/engines/btjunkie.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.21
#VERSION: 2.23
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
@ -93,6 +93,9 @@ class btjunkie(object): @@ -93,6 +93,9 @@ class btjunkie(object):
self.results.append('a')
def search(self, what, cat='all'):
# Remove {} since btjunkie does not seem
# to handle those very well
what = what.replace('{', '').replace('}', '')
ret = []
i = 1
while True and i<11:

5
src/search_engine/engines/isohunt.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 1.30
#VERSION: 1.31
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
@ -38,6 +38,9 @@ class isohunt(object): @@ -38,6 +38,9 @@ class isohunt(object):
print download_file(info)
def search(self, what, cat='all'):
# Remove {} since isohunt does not seem
# to handle those very well
what = what.replace('{', '').replace('}', '')
i = 1
while True and i<11:
res = 0

4
src/search_engine/engines/versions.txt

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
isohunt: 1.30
isohunt: 1.31
torrentreactor: 1.20
btjunkie: 2.21
btjunkie: 2.23
mininova: 1.40
piratebay: 1.30
vertor: 1.0

Loading…
Cancel
Save