Revert "Created branch develop"

This commit is contained in:
Alfa
2017-08-13 11:21:50 +02:00
committed by GitHub
parent 8000a6fd25
commit e549d644a9
395 changed files with 1849 additions and 10246 deletions
+5 -3
View File
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
from core.httptools import downloadpage
from core.scrapertools import get_match, find_multiple_matches
from platformcode import logger
from core.scrapertools import logger, get_match, find_multiple_matches
host = "http://vidabc.com"
id_server = "vidabc"
@@ -26,7 +25,10 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
try:
sources = get_match(data, 'sources\s*:\s* \[([^\]]+)\]')
except:
from lib import jsunpack
try:
from core import jsunpack
except:
from lib import jsunpack
sources = jsunpack.unpack(get_match(data, '<script[^>]*>(eval.function.p,a,c,k,e,.*?)</script>'))
sources = get_match(sources, 'sources\s*:\s*\[([^\]]+)\]')