projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d2f83
)
[youku] Fix fileid extraction
author
xuhaomin
<xhmgreat@sina.com>
Fri, 14 Apr 2017 18:23:02 +0000
(
02:23
+0800)
committer
Sergey M
<dstftw@gmail.com>
Fri, 14 Apr 2017 18:23:02 +0000
(13:23 -0500)
youtube_dl/extractor/youku.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youku.py
b/youtube_dl/extractor/youku.py
index e37f237c76c6880eb1d442e8302dcef558d0e9d8..73f6f0e904cc38f53b5ab1e552d9b4c0421ac279 100644
(file)
--- a/
youtube_dl/extractor/youku.py
+++ b/
youtube_dl/extractor/youku.py
@@
-105,7
+105,7
@@
class YoukuIE(InfoExtractor):
if stream.get('channel_type') == 'tail':
continue
format = stream.get('stream_type')
- fileid = stream['s
tream_
fileid']
+ fileid = stream['s
egs'][0]['
fileid']
fileid_dict[format] = fileid
def get_fileid(format, n):