Buenas de nuevo
Esta vez parece que el xo no funciona correctamente.
tiene 3 servidores: videomega, playreplaynet y el mail.ru
al intentar sacar cualquiera de los link no me funciona. El de video mega es dirente del patron al tener un cdn.php, el de playreplay.net no lo encuentra y el mail.ru tampoco.
E visto que mailru.py tiene mal el link y e echo los siguente cambios:
Cambiado
http://api.video.mail.ru por este
http://videoapi.my.mail.ru en todos los sitios en el fichero
Siguen dando error
Cambiado url = url.replace("embed/","").replace(".html",".json") por url = url.replace("embed/","embed/").replace(".html",".html")
pero ahora el error es diferente:
13:23:02 T:2879204160 NOTICE: data=<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> :: video.mail.ru</title>
<script type="text/javascript">
document.domain = "mail.ru";
</script>
<script type="text/javascript">
var flashVars = {"movieSrc":"mail/bartos1100/_myvideo/1065","metadataUrl":"
http://videoapi.my.mail.ru/videos/mail/ ... seRoll":"0"},
wmode = "direct",
accid = 52202163,
providerId = "mm",
static_version = 41,
swfVersion = "25",
cssVideoRetinaVersion = "9",
rb_region = 55,
externalLocation = "";
</script>
<link rel="stylesheet" type="text/css" href="
http://my10.imgsmail.ru/mail/ru/css/vid ... ame_41.css" />
<link rel="stylesheet" type="text/css" href="
http://my10.imgsmail.ru/mail/ru/css/new ... deo_41.css" />
</head>
<body>
<script type="text/javascript" src="
http://my10.imgsmail.ru/mail/ru/images/ ... "></script>
</body>
</html>
13:23:02 T:2879204160 NOTICE: Traceback (most recent call last):
13:23:02 T:2879204160 NOTICE: File "/home/bogdan/.xbmc/addons/plugin.video.pelisalacarta/servers/servertools.py", line 227, in resolve_video_urls_for_playing
13:23:02 T:2879204160 NOTICE: video_urls = server_connector.get_video_url( page_url=url , video_password=video_password )
13:23:02 T:2879204160 NOTICE: File "/home/bogdan/.xbmc/addons/plugin.video.pelisalacarta/servers/mailru.py", line 24, in get_video_url
13:23:02 T:2879204160 NOTICE: video_key = scrapertools.get_match( data , 'video_key=([^&]+)&')
13:23:02 T:2879204160 NOTICE: File "/home/bogdan/.xbmc/addons/plugin.video.pelisalacarta/core/scrapertools.py", line 782, in get_match
13:23:02 T:2879204160 NOTICE: return matches[index]
13:23:02 T:2879204160 NOTICE: IndexError: list index out of range
Me podrias echar una mano con esto?