in channelselector aggiunta una voce e fix vari
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
"visible": true
|
"visible": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "include_in_newest_film",
|
"id": "include_in_newest_peliculas",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
"label": "Includi in Novità",
|
"label": "Includi in Novità",
|
||||||
"default": true,
|
"default": true,
|
||||||
|
|||||||
+23
-11
@@ -9,10 +9,9 @@
|
|||||||
Le regex non prendono tutto...
|
Le regex non prendono tutto...
|
||||||
server versystream : 'http://vcrypt.net/very/' # VeryS non decodifica il link :http://vcrypt.net/fastshield/
|
server versystream : 'http://vcrypt.net/very/' # VeryS non decodifica il link :http://vcrypt.net/fastshield/
|
||||||
alcuni server tra cui nowvideo.club non sono implementati nella cartella servers
|
alcuni server tra cui nowvideo.club non sono implementati nella cartella servers
|
||||||
Alcune sezioni di anime-cartoni non vanno:
|
Alcune sezioni di anime-cartoni non vanno, alcune hanno solo la lista degli episodi, ma non hanno link
|
||||||
- alcune hanno solo la lista degli episodi, ma non hanno link
|
altre cambiano la struttura
|
||||||
- altre cambiano la struttura
|
La sezione novità non fa apparire il titolo degli episodi
|
||||||
La sezione novità di KOD non fa apparire il titolo degli episodi
|
|
||||||
|
|
||||||
In episodios è stata aggiunta la possibilità di configurare la videoteca
|
In episodios è stata aggiunta la possibilità di configurare la videoteca
|
||||||
|
|
||||||
@@ -26,13 +25,17 @@ from platformcode import logger, config
|
|||||||
|
|
||||||
__channel__ = "eurostreaming"
|
__channel__ = "eurostreaming"
|
||||||
|
|
||||||
|
#host = "https://eurostreaming.cafe/"
|
||||||
host = config.get_setting("channel_host", __channel__)
|
host = config.get_setting("channel_host", __channel__)
|
||||||
headers = ['Referer', host]
|
headers = ['Referer', host]
|
||||||
|
|
||||||
list_servers = ['verystream', 'wstream', 'speedvideo', 'flashx', 'nowvideo', 'streamango', 'deltabit', 'nowvideo', 'turbovid', 'openload']
|
list_servers = ['verystream', 'wstream', 'speedvideo', 'flashx', 'nowvideo', 'streamango', 'deltabit', 'openload']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
IDIOMAS = {'Italiano': 'ITA', 'vosi':'Sub-ITA'}
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'eurostreaming')
|
||||||
|
__comprueba_enlaces_num__ = config.get_setting('comprueba_enlaces_num', 'eurostreaming')
|
||||||
|
|
||||||
|
IDIOMAS = {'Italiano': 'ITA', 'Sub-ITA':'vosi'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
|
|
||||||
def mainlist(item):
|
def mainlist(item):
|
||||||
@@ -70,7 +73,7 @@ def serietv(item):
|
|||||||
if item.args:
|
if item.args:
|
||||||
# il titolo degli episodi viene inglobato in episode ma non sono visibili in newest!!!
|
# il titolo degli episodi viene inglobato in episode ma non sono visibili in newest!!!
|
||||||
patron = r'<span class="serieTitle" style="font-size:20px">(.*?).[^–]<a href="([^"]+)"\s+target="_blank">(.*?)<\/a>'
|
patron = r'<span class="serieTitle" style="font-size:20px">(.*?).[^–]<a href="([^"]+)"\s+target="_blank">(.*?)<\/a>'
|
||||||
listGroups = ['title', 'url', 'episode']
|
listGroups = ['title', 'url', 'title2']
|
||||||
patronNext = ''
|
patronNext = ''
|
||||||
else:
|
else:
|
||||||
patron = r'<div class="post-thumb">.*?\s<img src="([^"]+)".*?><a href="([^"]+)".*?>(.*?(?:\((\d{4})\)|(\d{4}))?)<\/a><\/h2>'
|
patron = r'<div class="post-thumb">.*?\s<img src="([^"]+)".*?><a href="([^"]+)".*?>(.*?(?:\((\d{4})\)|(\d{4}))?)<\/a><\/h2>'
|
||||||
@@ -103,6 +106,12 @@ def episodios(item):
|
|||||||
patron = r'(?:<\/span>\w+ STAGIONE\s\d+ (?:\()?(ITA|SUB ITA)(?:\))?<\/div>'\
|
patron = r'(?:<\/span>\w+ STAGIONE\s\d+ (?:\()?(ITA|SUB ITA)(?:\))?<\/div>'\
|
||||||
'<div class="su-spoiler-content su-clearfix" style="display:none">|'\
|
'<div class="su-spoiler-content su-clearfix" style="display:none">|'\
|
||||||
'(?:\s|\Wn)?(?:<strong>)?(\d&#.*?)(?:|–)?<a\s(.*?)<\/a><br\s\/>)'
|
'(?:\s|\Wn)?(?:<strong>)?(\d&#.*?)(?:|–)?<a\s(.*?)<\/a><br\s\/>)'
|
||||||
|
## '(?:<\/span>\w+ STAGIONE\s\d+ (?:\()?(ITA|SUB ITA)(?:\))?'\
|
||||||
|
## '<\/div><div class="su-spoiler-content su-clearfix" style="display:none">|'\
|
||||||
|
## '(?:\s|\Wn)?(?:<strong>)?(\d[&#].*?)(?:–|\W)?<a\s(.*?)<\/a><br\s\/>)'
|
||||||
|
## '(?:<\/span>\w+ STAGIONE\s\d+ (?:\()?(ITA|SUB ITA)(?:\))?<\/div>'\
|
||||||
|
## '<div class="su-spoiler-content su-clearfix" style="display:none">|'\
|
||||||
|
## '\s(?:<strong>)?(\d[&#].*?)–<a\s(.*?)<\/a><br\s\/>)'
|
||||||
listGroups = ['lang', 'title', 'url']
|
listGroups = ['lang', 'title', 'url']
|
||||||
itemlist = support.scrape(item, data=data, patron=patron,
|
itemlist = support.scrape(item, data=data, patron=patron,
|
||||||
listGroups=listGroups, action='findvideos')
|
listGroups=listGroups, action='findvideos')
|
||||||
@@ -116,13 +125,12 @@ def episodios(item):
|
|||||||
title=support.typo("Configurazione Videoteca color lime"),
|
title=support.typo("Configurazione Videoteca color lime"),
|
||||||
plot = 'Filtra per lingua utilizzando la configurazione della videoteca.\
|
plot = 'Filtra per lingua utilizzando la configurazione della videoteca.\
|
||||||
Escludi i video in sub attivando "Escludi streams... " e aggiungendo sub in Parole',
|
Escludi i video in sub attivando "Escludi streams... " e aggiungendo sub in Parole',
|
||||||
config='videolibrary',
|
config='videolibrary', #item.channel,
|
||||||
folder=False,
|
folder=False,
|
||||||
thumbnail=channelselector.get_thumb('setting_0.png')
|
thumbnail=channelselector.get_thumb('setting_0.png')
|
||||||
))
|
))
|
||||||
|
|
||||||
itemlist = filtertools.get_links(itemlist, item, list_language)
|
itemlist = filtertools.get_links(itemlist, item, list_language)
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
# =========== def findvideos =============
|
# =========== def findvideos =============
|
||||||
@@ -131,8 +139,12 @@ def findvideos(item):
|
|||||||
support.log()
|
support.log()
|
||||||
itemlist =[]
|
itemlist =[]
|
||||||
|
|
||||||
|
# Requerido para FilterTools
|
||||||
|
## itemlist = filtertools.get_links(itemlist, item, list_language)
|
||||||
|
|
||||||
itemlist = support.server(item, item.url)
|
itemlist = support.server(item, item.url)
|
||||||
|
## support.videolibrary(itemlist, item)
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
# =========== def ricerca =============
|
# =========== def ricerca =============
|
||||||
|
|||||||
+3
-3
@@ -321,7 +321,7 @@ def thumb(itemlist=[]):
|
|||||||
icon_dict = {'channels_movie':['film'],
|
icon_dict = {'channels_movie':['film'],
|
||||||
'channels_tvshow':['serie','tv','episodi','episodio'],
|
'channels_tvshow':['serie','tv','episodi','episodio'],
|
||||||
'channels_documentary':['documentari','documentario'],
|
'channels_documentary':['documentari','documentario'],
|
||||||
'news':['novità', "novita'"],
|
'news':['novità', "novita'", 'aggiornamenti'],
|
||||||
'now_playing':['cinema', 'in sala'],
|
'now_playing':['cinema', 'in sala'],
|
||||||
'channels_anime':['anime'],
|
'channels_anime':['anime'],
|
||||||
'genres':['genere', 'generi', 'categorie', 'categoria'],
|
'genres':['genere', 'generi', 'categorie', 'categoria'],
|
||||||
@@ -338,13 +338,13 @@ def thumb(itemlist=[]):
|
|||||||
'channels_grotesque':['grottesco'],
|
'channels_grotesque':['grottesco'],
|
||||||
'channels_war':['guerra'],
|
'channels_war':['guerra'],
|
||||||
'horror':['horror'],
|
'horror':['horror'],
|
||||||
'lucky': ['fortunato'], # se potete inserire la icona anche per questa voce
|
'lucky': ['fortunato'],
|
||||||
'channels_musical':['musical'],
|
'channels_musical':['musical'],
|
||||||
'channels_mistery':['mistero', 'giallo'],
|
'channels_mistery':['mistero', 'giallo'],
|
||||||
'channels_noir':['noir'],
|
'channels_noir':['noir'],
|
||||||
'popular' : ['popolari','popolare', 'più visti'],
|
'popular' : ['popolari','popolare', 'più visti'],
|
||||||
'channels_thriller':['thriller'],
|
'channels_thriller':['thriller'],
|
||||||
'top_rated' : ['fortunato'], #da tocgliere aggiunte la voce lucky o quello che volete
|
'top_rated' : ['fortunato'],
|
||||||
'channels_western':['western'],
|
'channels_western':['western'],
|
||||||
'channels_vos':['sub','sub-ita'],
|
'channels_vos':['sub','sub-ita'],
|
||||||
'channels_romance':['romantico','sentimentale'],
|
'channels_romance':['romantico','sentimentale'],
|
||||||
|
|||||||
Reference in New Issue
Block a user