Private GIT

Skip to content
Snippets Groups Projects
Commit 1fdf1164 authored by sarakha63's avatar sarakha63
Browse files

Merge pull request #314 from sebmafate/patch-1

Update cpasbien.py
parents 7d19ec03 d7bdca4e
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