Private GIT

Skip to content
Snippets Groups Projects
Commit 4c65bff0 authored by sarakha63's avatar sarakha63
Browse files

Merge pull request #330 from raver2046/patch-2

Update libertalia.py
parents 23c2797e 14bc8662
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,17 @@ class LIBERTALIAProvider(generic.TorrentProvider):
#bypass first row because title only
columns = row.find('td', {"class" : "torrent_name"} )
logger.log(u"LIBERTALIA found rows ! " , logger.DEBUG)
isvfclass = row.find('td', {"class" : "sprite-vf"} )
isvostfrclass = row.find('td', {"class" : "sprite-vostfr"} )
link = columns.find("a", href=re.compile("torrents"))
if link:
if isvostfrclass and str(show.audio_lang)=='fr':
logger.log(u"LIBERTALIA found VOSTFR et demande *"+str(show.audio_lang)+"* je skip ! " + link.text , logger.DEBUG)
link = columns.find("a", href=re.compile("nepastrouver"))
if link:
if isvfclass and str(show.audio_lang)!='fr' :
logger.log(u"LIBERTALIA found VF et demande *"+str(show.audio_lang)+"* je skip ! " + link.text , logger.DEBUG)
link = columns.find("a", href=re.compile("nepastrouver"))
if link:
title = link.text
recherched=searchUrl.split("&[PARAMSTR]=")[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment