mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Remove html tags from torrent names in mininova search plugin
This commit is contained in:
parent
cdce77962a
commit
d267d65e57
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
#VERSION: 1.31
|
#VERSION: 1.32
|
||||||
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ class mininova(object):
|
||||||
name += node.firstChild.toxml()
|
name += node.firstChild.toxml()
|
||||||
else:
|
else:
|
||||||
name += node.toxml()
|
name += node.toxml()
|
||||||
return name
|
return re.sub('<[a-zA-Z\/][^>]*>', '', name)
|
||||||
|
|
||||||
def get_text(txt):
|
def get_text(txt):
|
||||||
if txt.nodeType == txt.TEXT_NODE:
|
if txt.nodeType == txt.TEXT_NODE:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
isohunt: 1.30
|
isohunt: 1.30
|
||||||
torrentreactor: 1.20
|
torrentreactor: 1.20
|
||||||
btjunkie: 2.21
|
btjunkie: 2.21
|
||||||
mininova: 1.31
|
mininova: 1.32
|
||||||
piratebay: 1.22
|
piratebay: 1.22
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue