Fixed bug when parsing torrents page in IPT provider

This commit is contained in:
Dean Gardiner
2014-01-19 22:45:37 +13:00
parent 3c03e400f0
commit 1dda7edf1c
@@ -99,7 +99,8 @@ class IPTorrents(TorrentProvider):
result = {}
for x, col in enumerate(entries[0].find_all('th')):
key = toSafeString(col.text).strip().lower()
name = col.text or col.find('img')['title']
key = toSafeString(name).strip().lower()
if not key:
continue