1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-16 14:25:02 -05:00

Fix for torrentbytes provider where torrentid is <6 characters long

This commit is contained in:
Adam 2014-08-25 17:35:53 +08:00
parent 905b41c46a
commit 13bef2b92d

View File

@ -184,7 +184,7 @@ class TorrentBytesProvider(generic.TorrentProvider):
link = cells[1].find('a', attrs={'class': 'index'})
full_id = link['href'].replace('details.php?id=', '')
torrent_id = full_id[:6]
torrent_id = full_id.split("&")[0]
try:
if link.has_key('title'):