[youku]fix -p argument

This commit is contained in:
lh 2015-12-09 23:03:37 +08:00
parent 4d1e69eae0
commit 957efe0eac

View File

@ -237,7 +237,7 @@ class Youku(VideoExtractor):
fileid = fileid,
q = q
)
ksegs.append(u)
ksegs.append(json.loads(get_html(u+"&yxon=1"))[0]['server'])
if not kwargs['info_only']:
self.streams[stream_id]['src'] = ksegs