Private GIT

Skip to content
Snippets Groups Projects
Commit 44e84a3f authored by supergonkas's avatar supergonkas
Browse files

Merge pull request #413 from SickRage/fix-title

Fix a case where somethines the data-src would be null and it wouldnt…
parents f02176dd 3b636aa2
Branches
Tags
No related merge requests found
......@@ -132,6 +132,9 @@ class TransmitTheNetProvider(TorrentProvider):
temp_anchor = torrent_row.find('a', {"data-src": True})
title = temp_anchor['data-src'].rsplit('.', 1)[0]
if not title:
title = torrent_row.find('a', onmouseout='return nd();').string
title = title.replace("[", "").replace("]", "").replace("/ ", "")
size = try_int(temp_anchor['data-filesize'])
temp_anchor = torrent_row.find('span', class_='time').parent.find_next_sibling()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment