Private GIT

Skip to content
Snippets Groups Projects
Commit cd41f685 authored by raver2046's avatar raver2046
Browse files

Update libertalia.py

parent d06f0187
No related branches found
No related tags found
No related merge requests found
......@@ -154,12 +154,12 @@ class LIBERTALIAProvider(generic.TorrentProvider):
isvostfrclass = row.find('td', {"class" : "sprite-vostfr"} )
link = columns.find("a", href=re.compile("torrents"))
if link:
if isvostfrclass and french :
logger.log(u"LIBERTALIA found VOSTFR et demande french je skip ! " + link.text, logger.DEBUG)
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 french==None :
logger.log(u"LIBERTALIA found VF et demande différent de french je skip ! " + link.text , logger.DEBUG)
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment