bozza canale streamtime
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
"serietvsubita": "http://serietvsubita.xyz",
|
"serietvsubita": "http://serietvsubita.xyz",
|
||||||
"serietvu": "https://www.serietvu.club",
|
"serietvu": "https://www.serietvu.club",
|
||||||
"streamingaltadefinizione": "https://www.streamingaltadefinizione.best",
|
"streamingaltadefinizione": "https://www.streamingaltadefinizione.best",
|
||||||
|
"streamtime": "https://t.me/s/StreamTime",
|
||||||
"tantifilm": "https://www.tantifilm.eu",
|
"tantifilm": "https://www.tantifilm.eu",
|
||||||
"toonitalia": "https://toonitalia.org"
|
"toonitalia": "https://toonitalia.org"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"id": "streamtime",
|
||||||
|
"name": "streamtime",
|
||||||
|
"language": ["ita"],
|
||||||
|
"active": true,
|
||||||
|
"adult": false,
|
||||||
|
"thumbnail": "",
|
||||||
|
"banner": "",
|
||||||
|
"categories": ["tvshow", "movie"],
|
||||||
|
"settings": [
|
||||||
|
{
|
||||||
|
"id": "include_in_global_search",
|
||||||
|
"type": "bool",
|
||||||
|
"label": "Includi in Ricerca Globale",
|
||||||
|
"default": true,
|
||||||
|
"enabled": true,
|
||||||
|
"visible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "include_in_newest_peliculas",
|
||||||
|
"type": "bool",
|
||||||
|
"label": "Includi in Novità - Film",
|
||||||
|
"default": true,
|
||||||
|
"enabled": true,
|
||||||
|
"visible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "include_in_newest_italiano",
|
||||||
|
"type": "bool",
|
||||||
|
"label": "Includi in Novità - Italiano",
|
||||||
|
"default": true,
|
||||||
|
"enabled": true,
|
||||||
|
"visible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "checklinks",
|
||||||
|
"type": "bool",
|
||||||
|
"label": "Verifica se i link esistono",
|
||||||
|
"default": false,
|
||||||
|
"enabled": true,
|
||||||
|
"visible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "checklinks_number",
|
||||||
|
"type": "list",
|
||||||
|
"label": "Numero di link da verificare",
|
||||||
|
"default": 1,
|
||||||
|
"enabled": true,
|
||||||
|
"visible": "eq(-1,true)",
|
||||||
|
"lvalues": [ "5", "10", "15", "20" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from core import support, httptools, scrapertoolsV2
|
||||||
|
from core.item import Item
|
||||||
|
from platformcode import config
|
||||||
|
|
||||||
|
__channel__ = "streamtime"
|
||||||
|
host = config.get_channel_url(__channel__)
|
||||||
|
headers = [['Referer', host]]
|
||||||
|
list_servers = ['directo']
|
||||||
|
list_quality = ['default']
|
||||||
|
|
||||||
|
@support.menu
|
||||||
|
def mainlist(item):
|
||||||
|
film = []
|
||||||
|
tvshow = []
|
||||||
|
return locals()
|
||||||
|
|
||||||
|
|
||||||
|
@support.scrape
|
||||||
|
def peliculas(item):
|
||||||
|
patron = """tgme_widget_message_photo_wrap blured.*?image:url\(\"(?P<thumbnail>[^"]+).*?🎥.*?<b>(?P<title>.*?)</b>.*?Genere(?P<genre>.*?)<b>Anno</b>: (?P<year>[0-9]{4}).*?<b>Stream</b>: (?P<quality>[^<]+).*?tgme_widget_message_inline_button url_button" href="(?P<url>[^"]+)"""
|
||||||
|
patronBlock = '<div class="tgme_widget_message force_userpic js-widget_message"(?P<block>.*?)</div></div>'
|
||||||
|
def itemlistHook(itemlist):
|
||||||
|
return itemlist[::-1]
|
||||||
|
# debug = True
|
||||||
|
return locals()
|
||||||
|
|
||||||
|
|
||||||
|
def findvideos(item):
|
||||||
|
id = item.url.split('/')[-1]
|
||||||
|
url = scrapertoolsV2.find_single_match(item.url, 'https?://[a-z0-9.-]+') + '/play_f.php?f=' + id
|
||||||
|
res = support.match(item, 'src="([^"]+)"></video>', url=url)
|
||||||
|
|
||||||
|
itemlist = [
|
||||||
|
Item(channel=item.channel,
|
||||||
|
action="play",
|
||||||
|
title='stpgs.ml [COLOR blue]' + item.quality + '[/COLOR]',
|
||||||
|
url=res[0][0],
|
||||||
|
fulltitle=item.fulltitle,
|
||||||
|
thumbnail=item.thumbnail,
|
||||||
|
show=item.show,
|
||||||
|
quality=item.quality,
|
||||||
|
contentType=item.contentType,
|
||||||
|
folder=False)]
|
||||||
|
return support.controls(itemlist, item, True, False)
|
||||||
Reference in New Issue
Block a user