wopelis fix enlaces

This commit is contained in:
Intel1
2017-10-16 15:56:51 -05:00
committed by GitHub
parent 7c8f5d95d5
commit 7f70c95bf5

View File

@@ -255,10 +255,10 @@ def findvideos(item):
dic_servers = {'ntfof': 'Servidor Desconocido', 'stramango': 'streamango', 'flasht': 'flashx'}
data1 = downloadpage(item.url)
patron = 'onclick="redir\(([^\)]+).*?'
patron = '(?s)onclick="redir\(([^\)]+).*?'
patron += '<img style="float:left" src="./[^/]+/([^\.]+).+?'
patron += '<span[^>]+>([^<]+).*?'
patron += '<img(.*?)onerror'
patron += '<img(.*?)on'
if "Descarga:</h1>" in data1:
list_showlinks = [('Online:', 'Online:</h1>(.*?)Descarga:</h1>'),