From: Sergey M․ Date: Sat, 24 May 2014 22:30:15 +0000 (+0700) Subject: [streamcz] Use compat_str X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=418424e5f5f32369a6749408af681d260f6934db;p=youtube-dl [streamcz] Use compat_str --- diff --git a/youtube_dl/extractor/streamcz.py b/youtube_dl/extractor/streamcz.py index 1b53ee74d..faa360c65 100644 --- a/youtube_dl/extractor/streamcz.py +++ b/youtube_dl/extractor/streamcz.py @@ -5,7 +5,10 @@ import re import json from .common import InfoExtractor -from ..utils import int_or_none +from ..utils import ( + int_or_none, + compat_str, +) class StreamCZIE(InfoExtractor): @@ -68,7 +71,7 @@ class StreamCZIE(InfoExtractor): self._sort_formats(formats) return { - 'id': str(jsonData['episode_id']), + 'id': compat_str(jsonData['episode_id']), 'title': self._og_search_title(webpage), 'thumbnail': jsonData['episode_image_original_url'].replace('//', 'http://'), 'formats': formats,