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