- Fixed torrent name parsing in Mininova search plugin due to Web site changes (Thanks Lucas Moauro for the patch)

This commit is contained in:
Christophe Dumez 2009-08-02 01:42:38 +00:00
parent 9e522a8a6c
commit 66baa4d3dc
2 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#VERSION: 1.22
#VERSION: 1.23
#AUTHORS: Fabien Devaux (fab@gnux.info)
# Redistribution and use in source and binary forms, with or without
@ -58,7 +58,13 @@ class mininova(object):
i += 1
except:
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):
if txt.nodeType == txt.TEXT_NODE:

View file

@ -1,5 +1,5 @@
isohunt: 1.21
torrentreactor: 1.11
btjunkie: 2.11
mininova: 1.22
mininova: 1.23
piratebay: 1.11