aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-12-21 17:35:21 -0800
committerJesús <heckyel@hyperbola.info>2020-12-21 21:28:43 -0500
commit6f4963cbfb3b49922f5704e18172047b76c5c4e0 (patch)
tree17be1e565f25cabf6d801661c2f09a640264cb1d /youtube/static/js
parentdcfa2700efcd876c1853c1cf0b08fa7c391a3329 (diff)
downloadyt-local-6f4963cbfb3b49922f5704e18172047b76c5c4e0.tar.lz
yt-local-6f4963cbfb3b49922f5704e18172047b76c5c4e0.tar.xz
yt-local-6f4963cbfb3b49922f5704e18172047b76c5c4e0.zip
Include watch_headers in get_video_info so error lang is english
e.g. if the error in get_video_info is "Video unavailable" must include the Accept-Language header (which we have in watch_headers) in order to get an English error message. Otherwise we get the language of the Tor exit node region Example: https://youtu.be/aaaaaaaaaaa Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/static/js')
0 files changed, 0 insertions, 0 deletions