TorrentBytes nbsp issue

fix #4026
This commit is contained in:
Ruud
2015-01-08 16:56:38 +01:00
parent 4c68566c77
commit 2c080fec3d

View File

@@ -56,7 +56,7 @@ class Base(TorrentProvider):
full_id = link['href'].replace('details.php?id=', '')
torrent_id = full_id[:6]
name = toUnicode(link.contents[0])
name = toUnicode(link.contents[0].encode('ISO-8859-1')).strip()
results.append({
'id': torrent_id,