diff --git a/channels.json b/channels.json index 90aa18df..ff3f81c7 100644 --- a/channels.json +++ b/channels.json @@ -22,6 +22,7 @@ "ilcorsaronero": "https://ilcorsaronero.link", "ilgeniodellostreaming_cam": "https://ilgeniodellostreaming.foo", "italiafilm": "https://italia-film.biz", + "lordchannel": "https://lordchannel.com", "mediasetplay": "https://mediasetinfinity.mediaset.it", "mondoserietv": "http://ww25.mondoserietv.club/?subid1=20230304-0434-261c-9cb0-a0044930e0a9", "paramount": "https://www.mtv.it", diff --git a/channels/lordchannel.json b/channels/lordchannel.json new file mode 100644 index 00000000..53942fe6 --- /dev/null +++ b/channels/lordchannel.json @@ -0,0 +1,10 @@ +{ + "id": "lordchannel", + "name": "LordChannel", + "active": true, + "language": ["ita", "sub-ita"], + "thumbnail": "lordchannel.png", + "banner": "lordchannel.png", + "categories": ["anime", "tvshow", "movie"], + "settings": [] +} diff --git a/channels/lordchannel.py b/channels/lordchannel.py new file mode 100644 index 00000000..2700c679 --- /dev/null +++ b/channels/lordchannel.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------ +# Canale per lordchannel.py +# ------------------------------------------------------------ + +from core import httptools, support, scrapertools +from core.item import Item +from platformcode import config, logger + +host = config.get_channel_url() +headers = [['Referer', host]] + +@support.menu +def mainlist(item): + + film = ['/film/', + ] + tvshow = ['/serietv/', + ] + + anime = ['/anime/anime-ita/', + ('Anime SUB-Ita', ['/anime/anime-sub-ita/','peliculas']), + ] + search = '' + return locals() + + +@support.scrape +def peliculas(item): + if item.args == 'search': + action = 'check' + patron= r'