projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8477466
)
[streamcz] Use compat_str
author
Sergey M․
<dstftw@gmail.com>
Sat, 24 May 2014 22:30:15 +0000
(
05:30
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 24 May 2014 22:30:15 +0000
(
05:30
+0700)
youtube_dl/extractor/streamcz.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/streamcz.py
b/youtube_dl/extractor/streamcz.py
index 1b53ee74dd7586b83c0f9cf4423c9733ad6d1622..faa360c65c09e913c9c47120d46d34826bc49ebf 100644
(file)
--- 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,