]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/cpac.py
[cleanup] Fix infodict returned fields (#8906)
[yt-dlp.git] / yt_dlp / extractor / cpac.py
index 0f23f2be2602692e6d2fc6561e9d614c65e14671..32bba1e5a96813afbd7f124e613d9fdce268e2c3 100644 (file)
@@ -65,7 +65,7 @@ def is_live(v_type):
             'title': title,
             'description': str_or_none(content['details'].get('description_%s_t' % (url_lang, ))),
             'timestamp': unified_timestamp(content['details'].get('liveDateTime')),
-            'category': [category] if category else None,
+            'categories': [category] if category else None,
             'thumbnail': urljoin(url, str_or_none(content['details'].get('image_%s_s' % (url_lang, )))),
             'is_live': is_live(content['details'].get('type')),
         }