mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
- Remove html tags from torrent names in mininova search plugin
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user