diff --git a/channels/bleachportal.json b/channels/bleachportal.json index e5fcdcf3..59f84ee4 100644 --- a/channels/bleachportal.json +++ b/channels/bleachportal.json @@ -1,22 +1,15 @@ { "id": "bleachportal", "name": "BleachPortal", - "language": ["ita"], + "language": ["sub-ita"], "active": true, - "adult": false, - "fanart": "http://i39.tinypic.com/35ibvcx.jpg", - "thumbnail": "http://www.bleachportal.it/images/index_r1_c1.jpg", - "banner": "http://cgi.di.uoa.gr/~std05181/images/bleach.jpg", + "deprecated": true, + "adult": false, + "fanart": "https://www.thetvdb.com/banners/fanart/original/74796-29.jpg", + "thumbnail": "bleachportal.png", + "banner": "bleachportal.png", "categories": ["anime"], - "settings": [ - { - "id": "include_in_global_search", - "type": "bool", - "label": "Incluir en busqueda global", - "default": false, - "enabled": false, - "visible": false - } - ] + "not_active":["include_in_newests", "include_in_global_search"], + "settings": [] } diff --git a/channels/bleachportal.py b/channels/bleachportal.py index 3df421a0..9377fb9d 100644 --- a/channels/bleachportal.py +++ b/channels/bleachportal.py @@ -11,6 +11,7 @@ from core import scrapertools, httptools from core.item import Item from platformcode import logger from platformcode import config +from core import support host = "http://www.bleachportal.it" @@ -19,17 +20,19 @@ def mainlist(item): logger.info("[BleachPortal.py]==> mainlist") itemlist = [Item(channel=item.channel, action="episodi", - title="[COLOR azure] Bleach [/COLOR] - [COLOR deepskyblue]Lista Episodi[/COLOR]", + title= support.typo('Bleach','bold'), url=host + "/streaming/bleach/stream_bleach.htm", - thumbnail="http://i45.tinypic.com/286xp3m.jpg", - fanart="http://i40.tinypic.com/5jsinb.jpg", + thumbnail="https://www.thetvdb.com/banners/posters/74796-14.jpg", + banner="https://www.thetvdb.com/banners/graphical/74796-g6.jpg", + fanart="https://www.thetvdb.com/banners/fanart/original/74796-30.jpg", extra="bleach"), Item(channel=item.channel, action="episodi", - title="[COLOR azure] D.Gray Man [/COLOR] - [COLOR deepskyblue]Lista Episodi[/COLOR]", + title=support.typo('D.Gray Man','bold'), url=host + "/streaming/d.gray-man/stream_dgray-man.htm", - thumbnail="http://i59.tinypic.com/9is3tf.jpg", - fanart="http://wallpapercraft.net/wp-content/uploads/2016/11/Cool-D-Gray-Man-Background.jpg", + thumbnail="https://www.thetvdb.com/banners/posters/79635-1.jpg", + banner="https://www.thetvdb.com/banners/graphical/79635-g4.jpg", + fanart="https://www.thetvdb.com/banners/fanart/original/79635-6.jpg", extra="dgrayman")] return itemlist @@ -40,7 +43,7 @@ def episodi(item): itemlist = [] data = httptools.downloadpage(item.url).data - patron = '