diff options
author | Sergey M․ <dstftw@gmail.com> | 2021-05-30 00:36:26 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2021-05-30 00:36:26 +0700 |
commit | 24297a42efc52862cb9510d32b28efd7faf49af6 (patch) | |
tree | 926119ff1c01b2409077c45c4dd213d3c03907a0 /youtube_dl/extractor | |
parent | 1980ff4550a3f040fbc1e054d6b91013e9d8cb96 (diff) | |
download | youtube-dl-24297a42efc52862cb9510d32b28efd7faf49af6.tar.xz |
[youtube] Fix get_video_info request (closes #29086, closes #29165)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 0c52e5a8b..bf858c39d 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1499,6 +1499,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'unable to download video info webpage', query={ 'video_id': video_id, 'eurl': 'https://youtube.googleapis.com/v/' + video_id, + 'html5': 1, }, fatal=False)), lambda x: x['player_response'][0], compat_str) or '{}', video_id) |