Fix tags list

This commit is contained in:
BrutuZ 2020-03-13 21:53:42 -03:00
parent 0f7e8dcfa2
commit 79b0d33f63

View File

@ -55,7 +55,7 @@ class HanimeIE(InfoExtractor):
tags = [] tags = []
for t in page_json.get('hentai_tags'): for t in page_json.get('hentai_tags'):
if t.get('text'): if t.get('text'):
tags.append('text') tags.append(t.get('text'))
formats = [] formats = []
for f in api_json: for f in api_json:
item_url = sanitize_url(f.get('url')) or sanitize_url('https://hanime.tv/api/v1/m3u8s/%s.m3u8' % f.get('id')) item_url = sanitize_url(f.get('url')) or sanitize_url('https://hanime.tv/api/v1/m3u8s/%s.m3u8' % f.get('id'))