]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/dbtv.py
Register new version in the changelog.
[youtubedl] / youtube_dl / extractor / dbtv.py
index 1d3e2ff087fe611d6b660a59963a16765e3ac53e..2122176254eeacce3241a9e517a70daf90b0b187 100644 (file)
@@ -4,6 +4,7 @@ from __future__ import unicode_literals
 import re
 
 from .common import InfoExtractor
 import re
 
 from .common import InfoExtractor
+from ..compat import compat_str
 from ..utils import (
     float_or_none,
     int_or_none,
 from ..utils import (
     float_or_none,
     int_or_none,
@@ -61,7 +62,7 @@ class DBTVIE(InfoExtractor):
         self._sort_formats(formats)
 
         return {
         self._sort_formats(formats)
 
         return {
-            'id': video['id'],
+            'id': compat_str(video['id']),
             'display_id': display_id,
             'title': video['title'],
             'description': clean_html(video['desc']),
             'display_id': display_id,
             'title': video['title'],
             'description': clean_html(video['desc']),