Re-adding ps=default, since it doesn't hurt having it.

This commit is contained in:
Protuhj 2017-05-19 02:07:19 -04:00
parent 9ff9e26431
commit 28b5b85cbc

View File

@ -1464,7 +1464,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
self.report_video_info_webpage_download(video_id)
for el_type in ['&el=info', '&el=embedded', '&el=detailpage', '&el=vevo', '']:
video_info_url = (
'%s://www.youtube.com/get_video_info?&video_id=%s%s&eurl=&gl=US&hl=en&sts=%s'
'%s://www.youtube.com/get_video_info?&video_id=%s%s&ps=default&eurl=&gl=US&hl=en&sts=%s'
% (proto, video_id, el_type, sts))
video_info_webpage = self._download_webpage(
video_info_url,