Fix streamtape, filmpertutti->aggiornamenti
This commit is contained in:
@@ -45,7 +45,7 @@ def peliculas(item):
|
|||||||
patronNext = r'<a href="([^"]+)[^>]+>Pagina'
|
patronNext = r'<a href="([^"]+)[^>]+>Pagina'
|
||||||
else:
|
else:
|
||||||
patronBlock = r'<ul class="posts">(?P<block>.*)<div class="clear[^"]*">'
|
patronBlock = r'<ul class="posts">(?P<block>.*)<div class="clear[^"]*">'
|
||||||
patron = r'<li>\s?<a href="(?P<url>[^"]+)" data-thumbnail="(?P<thumb>[^"]+)">.*?<div class="title[^"]*">(?P<title>.+?)(?:\s\[(?P<quality>HD)\])?<\/div><div class="episode[^"]*"[^>]+>(?P<episode>[^<(]+)(?:\((?P<lang>[a-zA-Z\-]+)\))?'
|
patron = r'<li>\s?<a href="(?P<url>[^"]+)" data-thumbnail="(?P<thumb>[^"]+)">.*?<div class="title[^"]*">(?P<title>.+?)(?:\s\[(?P<quality>HD)\])?<\/div>\s*<div class="episode[^"]*"[^>]+>(?P<episode>[^<(]+)(?:\((?P<lang>[a-zA-Z\-]+)\))?'
|
||||||
|
|
||||||
if item.args == 'search':
|
if item.args == 'search':
|
||||||
action = 'select'
|
action = 'select'
|
||||||
|
|||||||
@@ -27,13 +27,11 @@ def test_video_exists(page_url):
|
|||||||
|
|
||||||
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
||||||
logger.debug("url=" + page_url)
|
logger.debug("url=" + page_url)
|
||||||
# from core .support import dbg;dbg()
|
|
||||||
|
|
||||||
video_urls = []
|
video_urls = []
|
||||||
possible_url = ''
|
find_url = match(data, patron=r'''innerHTML = ["']([^"]+)["'](?:\s*\+\s*['"(]+([^"']+))?''').match
|
||||||
find_url = match(data, patron=r'''innerHTML = ["']([^"]+)["'](?:\s*\+\s*['"]([^"']+))?''').match
|
possible_url = find_url[0]
|
||||||
for m in find_url:
|
possible_url += find_url[1][2:]
|
||||||
possible_url += m
|
|
||||||
|
|
||||||
if not possible_url:
|
if not possible_url:
|
||||||
possible_url = match(data, patron=r"innerHTML\\'\]=\\'([^']+)").match
|
possible_url = match(data, patron=r"innerHTML\\'\]=\\'([^']+)").match
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ validUrlRegex = re.compile(
|
|||||||
r'(?::\d+)?' # optional port
|
r'(?::\d+)?' # optional port
|
||||||
r'(?:/?|[/?]\S+)$', re.IGNORECASE)
|
r'(?:/?|[/?]\S+)$', re.IGNORECASE)
|
||||||
|
|
||||||
chBlackList = ['url', 'mediasetplay']
|
chBlackList = ['url', 'mediasetplay', 'metalvideo']
|
||||||
srvBlacklist = ['mega', 'hdmario', 'torrent', 'youtube']
|
srvBlacklist = ['mega', 'hdmario', 'torrent', 'youtube']
|
||||||
chNumRis = {
|
chNumRis = {
|
||||||
'altadefinizione01': {
|
'altadefinizione01': {
|
||||||
|
|||||||
Reference in New Issue
Block a user