Use proper bitsoup variable
This commit is contained in:
@@ -22,8 +22,8 @@ class Base(TorrentProvider):
|
|||||||
http_time_between_calls = 1 # Seconds
|
http_time_between_calls = 1 # Seconds
|
||||||
only_tables_tags = SoupStrainer('table')
|
only_tables_tags = SoupStrainer('table')
|
||||||
|
|
||||||
torrent_name_cell = 1;
|
torrent_name_cell = 1
|
||||||
torrent_download_cell = 2;
|
torrent_download_cell = 2
|
||||||
|
|
||||||
def _searchOnTitle(self, title, movie, quality, results):
|
def _searchOnTitle(self, title, movie, quality, results):
|
||||||
|
|
||||||
@@ -43,8 +43,8 @@ class Base(TorrentProvider):
|
|||||||
|
|
||||||
all_cells = result.find_all('td')
|
all_cells = result.find_all('td')
|
||||||
|
|
||||||
torrent = all_cells[torrent_name_cell].find('a')
|
torrent = all_cells[self.torrent_name_cell].find('a')
|
||||||
download = all_cells[torrent_download_cell].find('a')
|
download = all_cells[self.torrent_download_cell].find('a')
|
||||||
|
|
||||||
torrent_id = torrent['href']
|
torrent_id = torrent['href']
|
||||||
torrent_id = torrent_id.replace('details.php?id=', '')
|
torrent_id = torrent_id.replace('details.php?id=', '')
|
||||||
|
|||||||
Reference in New Issue
Block a user