correciones
- SeriesMetro: Corrección para episodios multiples y mejora en el codigo - HDFilmologia: Habilitado - PelisHD24: Corrección en la detección de enlaces
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"banner": "",
|
"banner": "",
|
||||||
"categories": [
|
"categories": [
|
||||||
"movie",
|
"movie",
|
||||||
"vose",
|
"vos"
|
||||||
],
|
],
|
||||||
"settings": [
|
"settings": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -426,7 +426,10 @@ def findvideos(item):
|
|||||||
url = url.replace('\\', '')
|
url = url.replace('\\', '')
|
||||||
servername = servertools.get_server_from_url(url)
|
servername = servertools.get_server_from_url(url)
|
||||||
if 'pelishd24.net' in url or 'stream.pelishd24.com' in url:
|
if 'pelishd24.net' in url or 'stream.pelishd24.com' in url:
|
||||||
|
url = url.strip()
|
||||||
vip_data = httptools.downloadpage(url).data
|
vip_data = httptools.downloadpage(url).data
|
||||||
|
if 'Archivo ELiminado' in vip_data:
|
||||||
|
continue
|
||||||
dejuiced = generictools.dejuice(vip_data)
|
dejuiced = generictools.dejuice(vip_data)
|
||||||
patron = '"file":"([^"]+)"'
|
patron = '"file":"([^"]+)"'
|
||||||
match = re.compile(patron, re.DOTALL).findall(dejuiced)
|
match = re.compile(patron, re.DOTALL).findall(dejuiced)
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ def list_all(item):
|
|||||||
tmdb.set_infoLabels_itemlist(itemlist, seekTmdb=True)
|
tmdb.set_infoLabels_itemlist(itemlist, seekTmdb=True)
|
||||||
|
|
||||||
# Paginacion
|
# Paginacion
|
||||||
next_page = scrapertools.find_single_match(data, '<a href="([^"]+)" >Página siguiente')
|
next_page = scrapertools.find_single_match(data, 'class=\'current\'>\d</span>.*?href="([^"]+)">')
|
||||||
if next_page != '':
|
if next_page != '':
|
||||||
itemlist.append(Item(channel=item.channel, action="list_all", title='Siguiente >>>',
|
itemlist.append(Item(channel=item.channel, action="list_all", title='Siguiente >>>',
|
||||||
url=next_page, thumbnail='https://s16.postimg.cc/9okdu7hhx/siguiente.png',
|
url=next_page, thumbnail='https://s16.postimg.cc/9okdu7hhx/siguiente.png',
|
||||||
@@ -187,12 +187,12 @@ def findvideos(item):
|
|||||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||||
|
|
||||||
for link in matches:
|
for link in matches:
|
||||||
if 'id=' in link:
|
|
||||||
id_type = 'id'
|
id_letter = scrapertools.find_single_match(link, '?(\w)d')
|
||||||
ir_type = 'ir'
|
|
||||||
elif 'ud=' in link:
|
id_type = '%sd' % id_letter
|
||||||
id_type = 'ud'
|
ir_type = '%sr' % id_letter
|
||||||
ir_type = 'ur'
|
|
||||||
id = scrapertools.find_single_match(link, '%s=(.*)' % id_type)
|
id = scrapertools.find_single_match(link, '%s=(.*)' % id_type)
|
||||||
base_link = scrapertools.find_single_match(link, '(.*?)%s=' % id_type)
|
base_link = scrapertools.find_single_match(link, '(.*?)%s=' % id_type)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user