Private GIT

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

Update libertalia.py

problème avec la désignation subfrench !
parent 689c323b
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,16 @@ 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.fid('td', {"class" : "sprite-vf"} )
isvostfrclass = row.fid('td', {"class" : "sprite-vostfr"} )
link = columns.find("a", href=re.compile("torrents"))
if isvostfrclass and french :
link = columns.find("a", href=re.compile("nepastrouver"))
logger.log(u"LIBERTALIA found VOSTFR et demande french je skip ! " + link.text, logger.DEBUG)
if isvfclass and french==None :
link = columns.find("a", href=re.compile("nepastrouver"))
logger.log(u"LIBERTALIA found VF et demande différent de french je skip ! " + link.text , logger.DEBUG)
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