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

This commit is contained in:
Christophe Dumez 2010-10-20 19:42:12 +00:00
parent 105de3161a
commit b1b2a2c775
3 changed files with 10 additions and 4 deletions

View file

@ -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):
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:

View file

@ -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):
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

View file

@ -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