mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-13 22:44:32 +03:00
adds the tags if they are found
This commit is contained in:
@@ -198,7 +198,7 @@ class MixcloudIE(MixcloudBaseIE):
|
|||||||
tags = []
|
tags = []
|
||||||
for t in cloudcast.get('tags'):
|
for t in cloudcast.get('tags'):
|
||||||
tag = try_get(t, lambda x: x['tag']['name'], str)
|
tag = try_get(t, lambda x: x['tag']['name'], str)
|
||||||
if not tag:
|
if tag:
|
||||||
tags.append(tag)
|
tags.append(tag)
|
||||||
|
|
||||||
get_count = lambda x: int_or_none(try_get(cloudcast, lambda y: y[x]['totalCount']))
|
get_count = lambda x: int_or_none(try_get(cloudcast, lambda y: y[x]['totalCount']))
|
||||||
|
|||||||
Reference in New Issue
Block a user