diff --git a/src/search_engine/engines/mininova.py b/src/search_engine/engines/mininova.py index c519149af..3225159d0 100644 --- a/src/search_engine/engines/mininova.py +++ b/src/search_engine/engines/mininova.py @@ -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: diff --git a/src/search_engine/engines/versions.txt b/src/search_engine/engines/versions.txt index e189f2413..c78d54733 100644 --- a/src/search_engine/engines/versions.txt +++ b/src/search_engine/engines/versions.txt @@ -1,5 +1,5 @@ isohunt: 1.21 torrentreactor: 1.11 btjunkie: 2.11 -mininova: 1.22 +mininova: 1.23 piratebay: 1.11