Browse Source

- Remove html tags from torrent names in mininova search plugin

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
d267d65e57
  1. 4
      src/search_engine/engines/mininova.py
  2. 2
      src/search_engine/engines/versions.txt

4
src/search_engine/engines/mininova.py

@ -1,4 +1,4 @@ @@ -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): @@ -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:

2
src/search_engine/engines/versions.txt

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

Loading…
Cancel
Save