diff --git a/.gitignore b/.gitignore index ee8198e9..3797d201 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ custom_code.json last_commit.txt __pycache__/ .vscode/settings.json +bin/ +lib/abi diff --git a/addon.xml b/addon.xml index 148ecf1b..d1bda1d5 100644 --- a/addon.xml +++ b/addon.xml @@ -1,4 +1,4 @@ - + @@ -27,9 +27,7 @@ resources/media/screenshot-2.png resources/media/screenshot-3.png - - corretto il playback in tutti i casi (torrent, autoplay, videoteca, libreria ecc..) - - piccole migliorie prestazionali nella ricerca globale - - fix trailer + - fix vari Naviga velocemente sul web e guarda i contenuti presenti [COLOR red]The owners and submitters to this addon do not host or distribute any of the content displayed by these addons nor do they have any affiliation with the content providers.[/COLOR] diff --git a/channels.json b/channels.json index d0b15016..2b878514 100644 --- a/channels.json +++ b/channels.json @@ -22,7 +22,7 @@ "filmigratis": "https://filmigratis.org", "guardaseriecam": "https://guardaserie.cam", "guardaserieclick": "https://www.guardaserie.builders", - "guardaserieicu": "https://www.youtube.com/watch?v=hV3rZZfkH9Q", + "guardaserieicu": "https://guardaserie.cheap", "hd4me": "https://hd4me.net", "ilcorsaronero": "https://ilcorsaronero.link", "ilgeniodellostreaming": "https://ilgeniodellostreaming.re", @@ -39,6 +39,7 @@ "serietvsubita": "http://serietvsubita.xyz", "serietvu": "https://www.serietvu.live", "streamingcommunity": "https://streamingcommunity.art", + "streamingita": "https://www.streamingita.pro", "streamtime": "https://t.me/s/StreamTime", "tantifilm": "https://www.tantifilm.sbs", "tapmovie": "https://it.tapmovie.net", diff --git a/channels/altadefinizionecommunity.py b/channels/altadefinizionecommunity.py index 944febbf..c74c9067 100644 --- a/channels/altadefinizionecommunity.py +++ b/channels/altadefinizionecommunity.py @@ -140,6 +140,7 @@ def peliculas(item): @support.scrape def episodios(item): + registerOrLogin() logger.debug(item) # debug = True data = item.data diff --git a/channels/streamingita.json b/channels/streamingita.json new file mode 100644 index 00000000..940536e8 --- /dev/null +++ b/channels/streamingita.json @@ -0,0 +1,11 @@ +{ + "id": "streamingita", + "name": "StreamingITA", + "language": ["ita"], + "active": true, + "thumbnail": "streamingita.png", + "banner": "streamingita.png", + "categories": ["tvshow", "movie"], + "not_active": ["include_in_newest_peliculas", "include_in_newest_anime", "include_in_newest_series"], + "settings": [] +} diff --git a/channels/streamingita.py b/channels/streamingita.py new file mode 100644 index 00000000..6a2f8ebf --- /dev/null +++ b/channels/streamingita.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------ +# Canale per streamingITA +# ------------------------------------------------------------ + +from core import support +from platformcode import logger, config + +host = config.get_channel_url() + + +@support.menu +def mainlist(item): + + film = ['/film'] + top = [('Generi', ['/film', 'menu', 'genres']), + ('Anno', ['/film', 'menu', 'releases'])] + tvshow = ['/tv'] + search = '' + return locals() + + +def search(item, text): + logger.info('search', text) + item.url = item.url + "/?s=" + text + try: + return support.dooplay_search(item) + except: + import sys + for line in sys.exc_info(): + logger.error("%s" % line) + return [] + + +def peliculas(item): + return support.dooplay_peliculas(item, False) + + +def episodios(item): + itemlist = support.dooplay_get_episodes(item) + return itemlist + + +def findvideos(item): + itemlist = [] + for link in support.dooplay_get_links(item, host): + itemlist.append( + item.clone(action="play", url=link['url'])) + # if item.contentType == 'episode': + # linkHead = support.httptools.downloadpage(item.url, only_headers=True).headers['link'] + # epId = support.scrapertools.find_single_match(linkHead, r'\?p=([0-9]+)>') + # for link in support.dooplay_get_links(item, host, paramList=[['tv', epId, 1, 'title', 'server']]): + # itemlist.append( + # item.clone(action="play", url=link['url'])) + # else: + # for link, quality in support.match(item.url, patron="(" + host + """links/[^"]+).*?class="quality">([^<]+)""").matches: + # srv = support.servertools.find_video_items(data=support.httptools.downloadpage(link).data) + # for s in srv: + # s.quality = quality + # itemlist.extend(srv) + return support.server(item, itemlist=itemlist) + + +@support.scrape +def menu(item): + action = 'peliculas' + # debug = True + if item.args in ['genres', 'releases']: + patronBlock = r'