From 28fbc4ed82bf13a673a53074ecbe66716f7ef191 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 2 Aug 2021 19:05:58 +0200 Subject: [PATCH] Fix AniPlay (Riaggiungere le serie in Videoteca) --- channels/aniplay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/channels/aniplay.py b/channels/aniplay.py index 9215f738..8d522504 100644 --- a/channels/aniplay.py +++ b/channels/aniplay.py @@ -178,7 +178,7 @@ def peliculas(item): action ='findvideos' if it['type'] == 'Movie' else 'episodios',# '' if not active else 'findvideos' if it['type'] == 'Movie' else 'episodios', plot = it['storyline'], year = it['startDate'].split('-')[0], - id= it['id'], + url = '{}/api/anime/{}'.format(host, it['id']), thumbnail = get_thumbnail(it), fanart = get_thumbnail(it, 'horizontalImages'))) @@ -194,8 +194,8 @@ def episodios(item): logger.debug() itemlist = [] - url = '{}/api/anime/{}'.format(host, item.id) - json = httptools.downloadpage(url, CF=False ).json + # url = '{}/api/anime/{}'.format(host, item.id) + json = httptools.downloadpage(item.url, CF=False ).json if type(json) == list: item.show_renumber = False