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')
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 = id.replace('details.php?id=','')