diff --git a/channels.json b/channels.json index 2a390357..2b3473ab 100644 --- a/channels.json +++ b/channels.json @@ -28,7 +28,9 @@ "netfreex": "https://www.netfreex.stream/", "ilgeniodellostreaming": "https://ilgeniodellostreaming.tw", "italiaserie": "https://italiaserie.org", - "mondoserietv": "https://mondoserietv.com", + "mondoserietv": "https://mondoserietv.com", + "guardaserieIcu": "https://guardaserie.icu/", + "guardaserieCam": "https://guardaserie.cam", "piratestreaming": "https://www.piratestreaming.biz", "polpotv": "https://polpotv.club", "pufimovies": "https://pufimovies.com", diff --git a/channels/guardaserieCam.json b/channels/guardaserieCam.json new file mode 100644 index 00000000..83a4730d --- /dev/null +++ b/channels/guardaserieCam.json @@ -0,0 +1,11 @@ +{ + "id": "guardaserieCam", + "name": "GuardaSerie Cam", + "language": ["ita", "sub-ita"], + "active": true, + "thumbnail": "https://raw.githubusercontent.com/32Dexter/DexterRepo/master/media/guardaserie_live.png", + "banner": "", + "categories": ["tvshow"], + "not_active": ["include_in_newest"], + "settings": [] +} diff --git a/channels/guardaserieCam.py b/channels/guardaserieCam.py new file mode 100644 index 00000000..c6738f61 --- /dev/null +++ b/channels/guardaserieCam.py @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------ +# Canale per 'guardaserie_live' +# By: Napster32 +# ------------------------------------------------------------ +# Rev: 0.0 +# Update 11-06-2020 +# fix: +# 1. Emissione + +# possibilità di miglioramento: inserire menu per genere - lista serie tv e gestire le novità + +from core import support +from core.support import log +from platformcode import logger, config + +host = config.get_channel_url() +headers = [['Referer', host]] + +list_servers = ['supervideo'] +list_quality = ['default'] + + +@support.menu +def mainlist(item): + tvshow = ['/serietv-streaming', + ('Per Lettera', ['/serietv-streaming/A', 'list', 'Serie-Tv per Lettera']) + ] + return locals() + + +@support.scrape +def list(item): + patronMenu = r'(?P[0-9]{4})' + patronNext = 'pagenavi.*?..*?.*?)' + patron = r'[sS][uU][bB]-?[iI][tT][aA])?\s*">(?P[^<]+)' + action = 'findvideos' + # debug = True + return locals() + + +def search(item, text): + support.log('search', item) + item.contentType = 'tvshow' + itemlist = [] + text = text.replace(' ', '+') + item.url = host + '/index.php?story=%s&do=search&subaction=search' % (text) + try: + return peliculas(item) + except: + import sys + for line in sys.exc_info(): + log('search log:', line) + return [] + + +def findvideos(item): + logger.info("[guardaserie_live] findvideos") + return support.server(item, item.url) \ No newline at end of file diff --git a/channels/guardaserieIcu.json b/channels/guardaserieIcu.json new file mode 100644 index 00000000..2c31f617 --- /dev/null +++ b/channels/guardaserieIcu.json @@ -0,0 +1,11 @@ +{ + "id": "guardaserieIcu", + "name": "Guarda Serie Icu", + "language": ["ita", "sub-ita"], + "active": true, + "thumbnail": "https://raw.githubusercontent.com/32Dexter/DexterRepo/master/media/guarda_serie.jpg", + "banner": "", + "categories": ["tvshow"], + "not_active": ["include_in_newest"], + "settings": [] +} diff --git a/channels/guardaserieIcu.py b/channels/guardaserieIcu.py new file mode 100644 index 00000000..8eb1dc2e --- /dev/null +++ b/channels/guardaserieIcu.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------ +# Canale per 'Guarda_Serie' +# By: Napster32 +# ------------------------------------------------------------ +# Rev: 0.0 +# Update 11-06-2020 +# fix: +# 1. Emissione + +# possibilità di miglioramento: gestire le novità (sezione Ultimi episodi sul sito) + +from core.support import log +from core import support +from platformcode import config + +host = config.get_channel_url() +headers = [['Referer', host]] + +list_servers = ['mixdrop,vudeo,doodstream,onlystream'] +list_quality = ['default'] + +@support.menu +def mainlist(item): + tvshow = ['/serie'] + return locals() + +@support.scrape +def peliculas(item): + patronBlock = r'movies-list movies-list-full(?P.*?)footer>' + patron = r'
(?P[^<]+).*?(?:rel="tag">(?P<year>[0-9]{4}))?</a>' + patronNext = '<li class=.active.>.*?href=.(.*?).>' + action = 'episodios' + return locals() + +@support.scrape +def episodios(item): + patronBlock = r'<strong>Stagione (?P<season>[0-9]+)(?P<block>.*?)</div></div>' + patron = r'<a href="(?P<url>[^"]+)">\s*Episodio\s*(?P<episode>[0-9]+)' + return locals() + +def search(item, text): + log(text) + itemlist = [] + text = text.replace(' ', '+') + item.url = host + "/?s=" + text + try: + item.args = 'search' + return peliculas(item) + except: + import sys + for line in sys.exc_info(): + log("%s" % line) + + return [] + +def findvideos(item): + support.log('findvideos', item) + return support.server(item, headers=headers) \ No newline at end of file