Private GIT

Skip to content
Snippets Groups Projects
Commit f4cce5df authored by raver2046's avatar raver2046
Browse files

Merge pull request #5 from sarakha63/development

maj
parents 78bfc3a4 2a40d044
No related branches found
No related tags found
No related merge requests found
......@@ -98,9 +98,9 @@ class CpasbienProvider(generic.TorrentProvider):
torrentSoup = BeautifulSoup( torrentPage )
#downloadTorrentLink = torrentSoup.find("a", title.startswith('Cliquer'))
tmp = pageURL.split('/')[6].replace('.html','.torrent')
tmp = pageURL.split('/')[-1].replace('.html','.torrent')
downloadTorrentLink = ('http://www.cpasbien.pe/_torrents/%s' % tmp)
downloadTorrentLink = ('http://www.cpasbien.pe/telecharge/%s' % tmp)
if downloadTorrentLink:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment