adds the tags if they are found

This commit is contained in:
Wouter Gordts
2025-04-04 09:36:26 +02:00
parent e1847535e2
commit 5bf0fe5a55
+1 -1
View File
@@ -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']))