Revert "[youtube] Don't use the DASH manifest from 'get_video_info' if 'use_cipher_signature' is True (#5118)"

This reverts commit 87dc451108.
This commit is contained in:
Yen Chi Hsuan 2017-05-26 12:43:14 +08:00
parent 97067db2ae
commit fd545fc6d1
No known key found for this signature in database
GPG key ID: 7F902A182457CA23

View file

@ -1481,8 +1481,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if not video_info_webpage: if not video_info_webpage:
continue continue
get_video_info = compat_parse_qs(video_info_webpage) get_video_info = compat_parse_qs(video_info_webpage)
if get_video_info.get('use_cipher_signature') != ['True']: add_dash_mpd(get_video_info)
add_dash_mpd(get_video_info)
if not video_info: if not video_info:
video_info = get_video_info video_info = get_video_info
if 'token' in get_video_info: if 'token' in get_video_info: