diff --git a/plugin.video.alfa/channels/vedohd.json b/plugin.video.alfa/channels/vedohd.json new file mode 100644 index 00000000..3fe4a322 --- /dev/null +++ b/plugin.video.alfa/channels/vedohd.json @@ -0,0 +1,36 @@ +{ + "id": "vedohd", + "name": "VedoHD", + "language": ["ita"], + "active": true, + "adult": false, + "thumbnail": "https://vedohd.pw/wp-content/uploads/2018/12/imgpsh_fullsize.png", + "banner": "https://vedohd.pw/wp-content/uploads/2018/12/imgpsh_fullsize.png", + "categories": ["movie"], + "settings": [ + { + "id": "include_in_global_search", + "type": "bool", + "label": "Incluir en busqueda global", + "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 + } + ] +} diff --git a/plugin.video.alfa/channels/vedohd.py b/plugin.video.alfa/channels/vedohd.py new file mode 100644 index 00000000..5d189332 --- /dev/null +++ b/plugin.video.alfa/channels/vedohd.py @@ -0,0 +1,165 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------ +# Canale per vedohd +# ------------------------------------------------------------ + +import re +import urlparse + +from channels import autoplay, filtertools, support +from core import scrapertoolsV2, httptools, servertools, tmdb +from core.item import Item +from lib import unshortenit +from platformcode import logger, config +from channelselector import thumb + +#impostati dinamicamente da getUrl() +host = "" +headers = "" + +permUrl = httptools.downloadpage('https://www.cb01.uno/', follow_redirects=False).headers +cb01Url = 'https://www.'+permUrl['location'].replace('https://www.google.it/search?q=site:', '') +data = httptools.downloadpage(cb01Url).data +host = scrapertoolsV2.get_match(data, r'