Fixed
This commit is contained in:
@@ -138,7 +138,7 @@ def listado(item):
|
|||||||
|
|
||||||
itemlist.append(item.clone(action=action, title=scrapedtitle, url=url, thumbnail=thumb, text_color=color3,
|
itemlist.append(item.clone(action=action, title=scrapedtitle, url=url, thumbnail=thumb, text_color=color3,
|
||||||
contentTitle=title, contentSerieName=show, infoLabels=infoLabels,
|
contentTitle=title, contentSerieName=show, infoLabels=infoLabels,
|
||||||
context=renumbertools.context, contentType=tipo))
|
context=renumbertools.context(item), contentType=tipo))
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -205,7 +205,7 @@ def completo(item):
|
|||||||
infoLabels = {'filtro': {"original_language": "ja"}.items()}
|
infoLabels = {'filtro': {"original_language": "ja"}.items()}
|
||||||
itemlist.append(Item(channel=item.channel, action=action, title=scrapedtitle, url=url, thumbnail=thumb,
|
itemlist.append(Item(channel=item.channel, action=action, title=scrapedtitle, url=url, thumbnail=thumb,
|
||||||
text_color=color3, contentTitle=title, contentSerieName=show, extra="completo",
|
text_color=color3, contentTitle=title, contentSerieName=show, extra="completo",
|
||||||
context=renumbertools.context, contentType=tipo, infoLabels=infoLabels))
|
context=renumbertools.context(item), contentType=tipo, infoLabels=infoLabels))
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ def episodios(item):
|
|||||||
for url, title in matches:
|
for url, title in matches:
|
||||||
url = host + url
|
url = host + url
|
||||||
epi = scrapertools.find_single_match(title, '(?i)%s.*? (\d+) (?:Sub|Audio|Español)' % item.contentSerieName)
|
epi = scrapertools.find_single_match(title, '(?i)%s.*? (\d+) (?:Sub|Audio|Español)' % item.contentSerieName)
|
||||||
new_item = item.clone(action="findvideos", url=url, title=title, extra="", context=renumbertools.context)
|
new_item = item.clone(action="findvideos", url=url, title=title, extra="")
|
||||||
if epi:
|
if epi:
|
||||||
season, episode = renumbertools.numbered_for_tratk(
|
season, episode = renumbertools.numbered_for_tratk(
|
||||||
item.channel, show, 1, int(epi))
|
item.channel, show, 1, int(epi))
|
||||||
@@ -301,7 +301,7 @@ def emision(item):
|
|||||||
infoLabels = {'filtro': {"original_language": "ja"}.items()}
|
infoLabels = {'filtro': {"original_language": "ja"}.items()}
|
||||||
itemlist.append(item.clone(action="episodios", title=scrapedtitle, url=url, thumbnail=thumb, text_color=color3,
|
itemlist.append(item.clone(action="episodios", title=scrapedtitle, url=url, thumbnail=thumb, text_color=color3,
|
||||||
contentTitle=title, contentSerieName=title, extra="recientes",
|
contentTitle=title, contentSerieName=title, extra="recientes",
|
||||||
context=renumbertools.context, infoLabels=infoLabels))
|
context=renumbertools.context(item), infoLabels=infoLabels))
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
|||||||
'Cookie': ''}
|
'Cookie': ''}
|
||||||
data = httptools.downloadpage(page_url, headers=headers, replace_headers=True).data
|
data = httptools.downloadpage(page_url, headers=headers, replace_headers=True).data
|
||||||
data = data.replace("\n","")
|
data = data.replace("\n","")
|
||||||
cgi_counter = scrapertools.find_single_match(data, '(?s)SRC="(https://www.flashx.tv/counter.cgi\?fx=[^"]+)')
|
cgi_counter = scrapertools.find_single_match(data, '(?is)src=.(https://www.flashx.tv/counter.cgi.*?fx=[0-9a-zA-Z=]+)')
|
||||||
cgi_counter = cgi_counter.replace("%0A","").replace("%22","")
|
cgi_counter = cgi_counter.replace("%0A","").replace("%22","")
|
||||||
playnow = scrapertools.find_single_match(data, 'https://www.flashx.tv/dl[^"]+')
|
playnow = scrapertools.find_single_match(data, 'https://www.flashx.tv/dl[^"]+')
|
||||||
# Para obtener el f y el fxfx
|
# Para obtener el f y el fxfx
|
||||||
js_fxfx = scrapertools.find_single_match(data, 'src="(https://www.flashx.tv/js/code.js.*?cache=[0-9]+)')
|
js_fxfx = scrapertools.find_single_match(data, '(?is)src=.(https://www.flashx.tv/js/code.js.*?=[0-9]+)')
|
||||||
data_fxfx = httptools.downloadpage(js_fxfx).data
|
data_fxfx = httptools.downloadpage(js_fxfx).data
|
||||||
mfxfx = scrapertools.find_single_match(data_fxfx, 'get.*?({.*?})').replace("'","").replace(" ","")
|
mfxfx = scrapertools.find_single_match(data_fxfx, 'get.*?({.*?})').replace("'","").replace(" ","")
|
||||||
matches = scrapertools.find_multiple_matches(mfxfx, '(\w+):(\w+)')
|
matches = scrapertools.find_multiple_matches(mfxfx, '(\w+):(\w+)')
|
||||||
|
|||||||
Reference in New Issue
Block a user