mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
- Fixed torrent name parsing in Mininova search plugin due to Web site changes (Thanks Lucas Moauro for the patch)
This commit is contained in:
parent
9e522a8a6c
commit
66baa4d3dc
@ -1,4 +1,4 @@
|
|||||||
#VERSION: 1.22
|
#VERSION: 1.23
|
||||||
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -58,7 +58,13 @@ class mininova(object):
|
|||||||
i += 1
|
i += 1
|
||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
return lnks.item(i).firstChild.toxml()
|
name = ""
|
||||||
|
for node in lnks[i].childNodes:
|
||||||
|
if node.hasChildNodes():
|
||||||
|
name += node.firstChild.toxml()
|
||||||
|
else:
|
||||||
|
name += node.toxml()
|
||||||
|
return name
|
||||||
|
|
||||||
def get_text(txt):
|
def get_text(txt):
|
||||||
if txt.nodeType == txt.TEXT_NODE:
|
if txt.nodeType == txt.TEXT_NODE:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
isohunt: 1.21
|
isohunt: 1.21
|
||||||
torrentreactor: 1.11
|
torrentreactor: 1.11
|
||||||
btjunkie: 2.11
|
btjunkie: 2.11
|
||||||
mininova: 1.22
|
mininova: 1.23
|
||||||
piratebay: 1.11
|
piratebay: 1.11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user