aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-12-05 23:28:57 +0700
committerSergey M․ <[email protected]>2016-12-05 23:28:57 +0700
commit4afa4ff223365601603b6a1cc77eb9d96d8e629d (patch)
tree948ea94abc233e3e72cb4f53f7df23c74e690f7b
parent3ed81714d8db61ea6d1633184af15d239af0445c (diff)
downloadyoutube-dl-4afa4ff223365601603b6a1cc77eb9d96d8e629d.tar.gz
youtube-dl-4afa4ff223365601603b6a1cc77eb9d96d8e629d.zip
[1tv] Fix video id extraction
-rw-r--r--youtube_dl/extractor/firsttv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/firsttv.py b/youtube_dl/extractor/firsttv.py
index 4463d3d20..47673e2d4 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,