Private GIT

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

Merge pull request #436 from SickRage/tvchaosuk-quality

Hacky way to fix funky names quality on tvchaosuk
parents bc74a600 7c44276f
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,7 @@ class TVChaosUKProvider(TorrentProvider): ...@@ -154,7 +154,7 @@ class TVChaosUKProvider(TorrentProvider):
freeleech = torrent.find('img', alt=re.compile('Free Torrent')) freeleech = torrent.find('img', alt=re.compile('Free Torrent'))
if self.freeleech and not freeleech: if self.freeleech and not freeleech:
continue 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() download_url = torrent.find(title="Click to Download this Torrent!").parent['href'].strip()
seeders = int(torrent.find(title='Seeders').text.strip()) seeders = int(torrent.find(title='Seeders').text.strip())
leechers = int(torrent.find(title='Leechers').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