Browse Source

[1tv] Fix video id extraction

Sergey M․ 8 years ago
parent
commit
4afa4ff223
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/firsttv.py

+ 1 - 1
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,