1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-14 03:52:22 -05:00

Update bitsoup.py - new table format

Table that lists torrents has changed, and the download link is on third column
This commit is contained in:
whiethatguy 2014-08-27 10:14:13 -03:00
parent 36958bf1c2
commit ce52dc8333

View File

@ -188,7 +188,7 @@ class BitSoupProvider(generic.TorrentProvider):
cells = result.find_all('td') cells = result.find_all('td')
link = cells[1].find('a') link = cells[1].find('a')
download_url = self.urls['download'] % cells[3].find('a')['href'] download_url = self.urls['download'] % cells[2].find('a')['href']
id = link['href'] id = link['href']
id = id.replace('details.php?id=','') id = id.replace('details.php?id=','')