mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Merge pull request #752 from adam111316/torrentbytes_fix
Fix for torrentbytes provider where torrentid is <6 characters long
This commit is contained in:
commit
8f43c58c9e
1 changed files with 1 additions and 1 deletions
|
@ -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'):
|
||||
|
|
Loading…
Reference in a new issue