get_video_info: Specify language so error messages are in english
Otherwise error message language will be region of Tor exit node Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
parent
acfa31ff59
commit
20db70b9b9
@ -251,6 +251,7 @@ def extract_info(video_id, use_invidious, playlist_id=None, index=None):
|
||||
# See https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544
|
||||
'c': 'TVHTML5',
|
||||
'cver': '6.20180913',
|
||||
'hl': 'en',
|
||||
}
|
||||
url = 'https://www.youtube.com/get_video_info?'
|
||||
url += urllib.parse.urlencode(data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user