Private GIT

Skip to content
Snippets Groups Projects
Commit 9ab1a43a authored by supergonkas's avatar supergonkas
Browse files

Hacky way to fix funcky names quality

parent 028e9183
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ class TVChaosUKProvider(TorrentProvider):
freeleech = torrent.find('img', alt=re.compile('Free Torrent'))
if self.freeleech and not freeleech:
continue
title = torrent.find(attrs={'class':'tooltip-target'}).text.strip()
title = (torrent.find(attrs={'class':'tooltip-target'}).text.strip()).replace("mp4", "x264")
download_url = torrent.find(title="Click to Download this Torrent!").parent['href'].strip()
seeders = int(torrent.find(title='Seeders').text.strip())
leechers = int(torrent.find(title='Leechers').text.strip())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment