mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-30 08:24:22 +00:00
- Fixed mininova search engine
This commit is contained in:
parent
512d1f3d9d
commit
ee71224f89
@ -3,6 +3,7 @@
|
|||||||
# Version: 2.0
|
# Version: 2.0
|
||||||
# - Fixed ThePirateBay search engine
|
# - Fixed ThePirateBay search engine
|
||||||
# - Fixed Meganova search engine
|
# - Fixed Meganova search engine
|
||||||
|
# - Fixed Mininova search engine
|
||||||
|
|
||||||
# Version: 1.9
|
# Version: 1.9
|
||||||
# Changelog:
|
# Changelog:
|
||||||
@ -211,7 +212,8 @@ class Mininova(object):
|
|||||||
return txt.toxml()
|
return txt.toxml()
|
||||||
else:
|
else:
|
||||||
return ''.join([ get_text(n) for n in txt.childNodes])
|
return ''.join([ get_text(n) for n in txt.childNodes])
|
||||||
dat = urllib.urlopen(self.url+'/search/%s/%s'%(what,order)).read().decode('utf-8', 'replace')
|
dat = urllib.urlopen(self.url+'/search/%s/seeds'%(what,)).read().decode('utf-8', 'replace')
|
||||||
|
dat = re.sub("<a href=\"http://www.boardreader.com/index.php.*\"", "<a href=\"plop\"", dat)
|
||||||
x = minidom.parseString(dat.encode('utf-8', 'replace'))
|
x = minidom.parseString(dat.encode('utf-8', 'replace'))
|
||||||
table = x.getElementsByTagName('table').item(0)
|
table = x.getElementsByTagName('table').item(0)
|
||||||
if not table: return
|
if not table: return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user