Fix AniPlay (Riaggiungere le serie in Videoteca)
This commit is contained in:
+3
-3
@@ -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',
|
action ='findvideos' if it['type'] == 'Movie' else 'episodios',# '' if not active else 'findvideos' if it['type'] == 'Movie' else 'episodios',
|
||||||
plot = it['storyline'],
|
plot = it['storyline'],
|
||||||
year = it['startDate'].split('-')[0],
|
year = it['startDate'].split('-')[0],
|
||||||
id= it['id'],
|
url = '{}/api/anime/{}'.format(host, it['id']),
|
||||||
thumbnail = get_thumbnail(it),
|
thumbnail = get_thumbnail(it),
|
||||||
fanart = get_thumbnail(it, 'horizontalImages')))
|
fanart = get_thumbnail(it, 'horizontalImages')))
|
||||||
|
|
||||||
@@ -194,8 +194,8 @@ def episodios(item):
|
|||||||
logger.debug()
|
logger.debug()
|
||||||
itemlist = []
|
itemlist = []
|
||||||
|
|
||||||
url = '{}/api/anime/{}'.format(host, item.id)
|
# url = '{}/api/anime/{}'.format(host, item.id)
|
||||||
json = httptools.downloadpage(url, CF=False ).json
|
json = httptools.downloadpage(item.url, CF=False ).json
|
||||||
|
|
||||||
if type(json) == list:
|
if type(json) == list:
|
||||||
item.show_renumber = False
|
item.show_renumber = False
|
||||||
|
|||||||
Reference in New Issue
Block a user