forked from qbittorrent/qBittorrent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed torrent name parsing in Mininova search plugin due to Web sit…
…e changes (Thanks Lucas Moauro for the patch)
- Loading branch information
Christophe Dumez
committed
Aug 2, 2009
1 parent
9e522a8
commit 66baa4d
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#VERSION: 1.22 | ||
#VERSION: 1.23 | ||
#AUTHORS: Fabien Devaux ([email protected]) | ||
|
||
# Redistribution and use in source and binary forms, with or without | ||
|
@@ -58,7 +58,13 @@ def get_name(lnk): | |
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
isohunt: 1.21 | ||
torrentreactor: 1.11 | ||
btjunkie: 2.11 | ||
mininova: 1.22 | ||
mininova: 1.23 | ||
piratebay: 1.11 |