mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Fix issues when searching for something with {*} in the name
This commit is contained in:
parent
105de3161a
commit
b1b2a2c775
@ -1,4 +1,4 @@
|
|||||||
#VERSION: 2.21
|
#VERSION: 2.23
|
||||||
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
|
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -93,6 +93,9 @@ class btjunkie(object):
|
|||||||
self.results.append('a')
|
self.results.append('a')
|
||||||
|
|
||||||
def search(self, what, cat='all'):
|
def search(self, what, cat='all'):
|
||||||
|
# Remove {} since btjunkie does not seem
|
||||||
|
# to handle those very well
|
||||||
|
what = what.replace('{', '').replace('}', '')
|
||||||
ret = []
|
ret = []
|
||||||
i = 1
|
i = 1
|
||||||
while True and i<11:
|
while True and i<11:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#VERSION: 1.30
|
#VERSION: 1.31
|
||||||
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
|
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -38,6 +38,9 @@ class isohunt(object):
|
|||||||
print download_file(info)
|
print download_file(info)
|
||||||
|
|
||||||
def search(self, what, cat='all'):
|
def search(self, what, cat='all'):
|
||||||
|
# Remove {} since isohunt does not seem
|
||||||
|
# to handle those very well
|
||||||
|
what = what.replace('{', '').replace('}', '')
|
||||||
i = 1
|
i = 1
|
||||||
while True and i<11:
|
while True and i<11:
|
||||||
res = 0
|
res = 0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
isohunt: 1.30
|
isohunt: 1.31
|
||||||
torrentreactor: 1.20
|
torrentreactor: 1.20
|
||||||
btjunkie: 2.21
|
btjunkie: 2.23
|
||||||
mininova: 1.40
|
mininova: 1.40
|
||||||
piratebay: 1.30
|
piratebay: 1.30
|
||||||
vertor: 1.0
|
vertor: 1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user