Skip to content

A feature-rich command-line audio/video downloader

[1tv] Fix video id extraction

Sergey M․4afa4ff22336
diff --git a/youtube_dl/extractor/firsttv.py b/youtube_dl/extractor/firsttv.py
index 4463d3d207..47673e2d44 100644
--- a/youtube_dl/extractor/firsttv.py
+++ b/youtube_dl/extractor/firsttv.py
@@ -107,7 +107,7 @@ class FirstTVIE(InfoExtractor):
'ya:ovs:upload_date', webpage, 'upload date', default=None))
entries.append({
- 'id': item.get('id') or uid,
+ 'id': compat_str(item.get('id') or item['uid']),
'thumbnail': thumbnail,
'title': title,
'upload_date': upload_date,