Fix searching for something with {*} in it

This commit is contained in:
Christophe Dumez
2010-10-20 19:44:23 +00:00
parent 1fe49198d1
commit 7aaa3e8f51
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