- Aggiornato Anavids

- Fix m3u8 non supportati da inputstream
 - Stayonline
This commit is contained in:
Alhaziel01
2021-10-23 11:36:48 +02:00
parent 5a89b60ce8
commit 0976a8581b
8 changed files with 26 additions and 13 deletions
+4 -1
View File
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from core import httptools, support
from core import scrapertools
from lib import jsunpack
from platformcode import config, logger
@@ -17,5 +17,8 @@ def test_video_exists(page_url):
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
global data
packed = support.match(data, patron=r'(eval\(function\(p.*?)</').match
if packed:
data = jsunpack.unpack(packed).replace("\\", "")
video_urls = support.get_jwplayer_mediaurl(data, 'AvaVids')
return video_urls