Private GIT

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

Merge pull request #404 from SickRage/Make-code-more-preety

Make code more preety on TVChaosUK
parents 0a638be4 8a43ec04
Branches
Tags
No related merge requests found
......@@ -145,7 +145,7 @@ class TVChaosUKProvider(TorrentProvider):
torrent_table = html.find(id='listtorrents').find_all('tr')
for torrent in torrent_table:
try:
freeleech = torrent.find('img', src="https://tvchaosuk.com/include/templates/evo-avid/images/torrent_flags/freedownload.gif")
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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment