1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-27 23:14:31 +00:00

- Remove html tags from torrent names in mininova search plugin

This commit is contained in:
Christophe Dumez 2009-11-21 20:49:09 +00:00
parent cdce77962a
commit d267d65e57
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 1.31
#VERSION: 1.32
#AUTHORS: Fabien Devaux (fab@gnux.info)
# Redistribution and use in source and binary forms, with or without
@ -65,7 +65,7 @@ class mininova(object):
name += node.firstChild.toxml()
else:
name += node.toxml()
return name
return re.sub('<[a-zA-Z\/][^>]*>', '', name)
def get_text(txt):
if txt.nodeType == txt.TEXT_NODE:

View File

@ -1,5 +1,5 @@
isohunt: 1.30
torrentreactor: 1.20
btjunkie: 2.21
mininova: 1.31
mininova: 1.32
piratebay: 1.22