diff --git a/plugin.video.alfa/channels/ohpelis.json b/plugin.video.alfa/channels/ohlatino.json similarity index 82% rename from plugin.video.alfa/channels/ohpelis.json rename to plugin.video.alfa/channels/ohlatino.json index 26b945ca..b987ac92 100644 --- a/plugin.video.alfa/channels/ohpelis.json +++ b/plugin.video.alfa/channels/ohlatino.json @@ -1,10 +1,10 @@ { - "id": "ohpelis", - "name": "OH-PELIS", + "id": "ohlatino", + "name": "OH!Latino", "active": true, "adult": false, "language": ["lat"], - "thumbnail": "https://s28.postimg.org/6v7ig831p/oh-pelis.png", + "thumbnail": "http://cinemiltonero.com/wp-content/uploads/2017/08/logo-Latino0.png", "banner": "https://s27.postimg.org/bz0fh8jpf/oh-pelis-banner.png", "version": 1, "categories": [ diff --git a/plugin.video.alfa/channels/ohlatino.py b/plugin.video.alfa/channels/ohlatino.py new file mode 100644 index 00000000..0e2c41a1 --- /dev/null +++ b/plugin.video.alfa/channels/ohlatino.py @@ -0,0 +1,206 @@ +# -*- coding: utf-8 -*- +# -*- Channel OH!Latino -*- +# -*- Created for Alfa-addon -*- +# -*- By the Alfa Develop Group -*- + +import re + +from channelselector import get_thumb +from core import httptools +from core import scrapertools +from core import servertools +from core import tmdb +from core.item import Item +from platformcode import config, logger + +host = 'http://www.ohpeliculas.com' + +def mainlist(item): + logger.info() + itemlist = [] + data = httptools.downloadpage(host).data + patron = '