Browse Source

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

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
66baa4d3dc
  1. 10
      src/search_engine/engines/mininova.py
  2. 2
      src/search_engine/engines/versions.txt

10
src/search_engine/engines/mininova.py

@ -1,4 +1,4 @@ @@ -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): @@ -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:

2
src/search_engine/engines/versions.txt

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

Loading…
Cancel
Save