]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[1tv] Fix video id extraction
authorSergey M․ <dstftw@gmail.com>
Mon, 5 Dec 2016 16:28:57 +0000 (23:28 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 5 Dec 2016 16:28:57 +0000 (23:28 +0700)
youtube_dl/extractor/firsttv.py

index 4463d3d207bb18375a215c0b0900cda2957eca42..47673e2d44e6845ea0e605356135e75505c8526b 100644 (file)
@@ -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,