-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Description
Checklist
- I'm reporting a bug unrelated to a specific site
- I've verified that I have updated yt-dlp to nightly or master (update instructions)
- I've searched known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I've read the policy against AI/LLM contributions and understand I may be blocked from the repository if it is violated
Provide a description that is worded well enough to be understood
If a Youtube video is restricted, even if using cookies I can't download the subtitles. It claims no subtitles exist when they absolutely do. Here is an example video I'm experiencing this issue on:
https://www.youtube.com/watch?v=9aSINkdKNE4
Non-generated subtitles exist in English but it can't grab them, saying "[info] There are no subtitles for the requested languages"
You're asked to confirm to:
"The following content may contain graphic or violent imagery
Viewer discretion is advised"
I've tried using both cookies extracted in Netscape format to .txt and --cookies-from-browser, and I've tried both specifying a language and not for the subtitles flag.
If I've done something wrong or you need more information please tell me and I'll provide ASAP.
ETA: I'm using the most recent version of JSNode, 24.11.1.
Provide verbose output that clearly demonstrates the problem
[debug] Command-line config: ['-vU', '--js-runtimes', 'node', '--write-sub', '--sub-lang', 'en', '--cookies', 'cookiesyoutube.txt', '--merge-output-format', 'mp4', 'https://www.youtube.com/watch?v=9aSINkdKNE4', '-o', 'Forensic Files S01E08 - The Wilson Murder.mp4']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2025.11.12 from yt-dlp/yt-dlp [335653b] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t 7 Feb 2023)
[debug] exe versions: ffmpeg 5.1.2-essentials_build-www.gyan.dev (setts), ffprobe N-121207-g9970dc32bf-20250925
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2025.10.05, curl_cffi-0.13.0, mutagen-1.47.0, requests-2.32.5, sqlite3-3.40.1, urllib3-2.5.0, websockets-15.0.1, yt_dlp_ejs-0.3.1
[debug] JS runtimes: node-22.12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1844 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2025.11.12 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2025.11.12 from yt-dlp/yt-dlp)
[debug] [youtube] [pot] PO Token Providers: none
[debug] [youtube] [pot] PO Token Cache Providers: memory
[debug] [youtube] [pot] PO Token Cache Spec Providers: webpo
[debug] [youtube] [jsc] JS Challenge Providers: bun (unavailable), deno (unavailable), node, quickjs (unavailable)
[youtube] Extracting URL: https://www.youtube.com/watch?v=9aSINkdKNE4
[youtube] 9aSINkdKNE4: Downloading webpage
[youtube] 9aSINkdKNE4: Downloading tv client config
[youtube] 9aSINkdKNE4: Downloading player ef5f17ca-main
[youtube] 9aSINkdKNE4: Downloading tv player API JSON
[youtube] 9aSINkdKNE4: Downloading android sdkless player API JSON
[debug] [youtube] 9aSINkdKNE4: web player response playability status: UNPLAYABLE
[youtube] [jsc:node] Solving JS challenges using node
[debug] [youtube] [jsc:node] Using challenge solver lib script v0.3.1 (source: python package, variant: minified)
[debug] [youtube] [jsc:node] Using challenge solver core script v0.3.1 (source: python package, variant: minified)
[debug] [youtube] [jsc:node] Running node: node --experimental-permission --no-warnings=ExperimentalWarning -
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 9aSINkdKNE4: Downloading 1 format(s): 399+251
[info] There are no subtitles for the requested languages
[debug] Invoking http downloader on "https://rr2---sn-ab5l6nrr.googlevideo.com/videoplayback?expire=1763157231&ei=j1AXaZaSGKqLr9gP5ZnjsQM&ip=146.70.156.8&id=o-AG0nX2tm1TXBcGBXUunuSnZeyZv4ONV9suVWCRihi69D&itag=399&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1763135631%2C&mh=F5&mm=31%2C29&mn=sn-ab5l6nrr%2Csn-ab5sznze&ms=au%2Crdu&mv=m&mvi=2&pl=24&rms=au%2Cau&initcwndbps=317500&bui=AdEuB5Sdi3TTqhJGnTrJ5nOws6JGK0gpL967J1d-bhXPCkXLu1APVyZWrdLHaUiHudBONW1dwyK1xHn4&vprv=1&svpuc=1&mime=video%2Fmp4&ns=PcGqqcq0J2j4QafV80CgyIsQ&rqh=1&gir=yes&clen=132319311&dur=1364.062&lmt=1741500397417307&mt=1763135201&fvip=5&keepalive=yes&lmw=1&fexp=51557447%2C51565116%2C51565681%2C51580970%2C51673544%2C51673545&c=TVHTML5&sefc=1&txp=443G534&n=DADeBth-DFPbvQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAORaaqgmpns54b4EcbQfB1PCM6GOBIwIckIlfU5hVGqCAiBAkKAytVUBnG87cKelZywUTjjzZCNgJU_7zNMsAMpBEQ%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRQIhAP4vl_tklJ_0gN0mNtFcrDUYl__cH_cUbMSdurgXBxb5AiAQ1tPK8QAu_mh43kZAcHXnrrTzPe2wl9DbSNroUoOPsQ%3D%3D"
[download] Sleeping 4.00 seconds as required by the site...
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Forensic Files S01E08 - The Wilson Murder.f399.mp4
[download] 100% of 126.19MiB in 00:00:10 at 11.82MiB/s
[debug] Invoking http downloader on "https://rr2---sn-ab5l6nrr.googlevideo.com/videoplayback?expire=1763157231&ei=j1AXaZaSGKqLr9gP5ZnjsQM&ip=146.70.156.8&id=o-AG0nX2tm1TXBcGBXUunuSnZeyZv4ONV9suVWCRihi69D&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1763135631%2C&mh=F5&mm=31%2C29&mn=sn-ab5l6nrr%2Csn-ab5sznze&ms=au%2Crdu&mv=m&mvi=2&pl=24&rms=au%2Cau&initcwndbps=317500&bui=AdEuB5Sdi3TTqhJGnTrJ5nOws6JGK0gpL967J1d-bhXPCkXLu1APVyZWrdLHaUiHudBONW1dwyK1xHn4&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=PcGqqcq0J2j4QafV80CgyIsQ&rqh=1&gir=yes&clen=20831228&dur=1364.081&lmt=1741207834667174&mt=1763135201&fvip=5&keepalive=yes&lmw=1&fexp=51557447%2C51565116%2C51565681%2C51580970%2C51673544%2C51673545&c=TVHTML5&sefc=1&txp=4432534&n=DADeBth-DFPbvQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhANSheiiXHIZ4wAcTHbDFw1MVl7kmPne06sAn3hLvvDR4AiEA6snOMH5pzrTzVvnfDUWjeSzyoPL0SpwwDNvTsfmf1Eo%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRQIhAP4vl_tklJ_0gN0mNtFcrDUYl__cH_cUbMSdurgXBxb5AiAQ1tPK8QAu_mh43kZAcHXnrrTzPe2wl9DbSNroUoOPsQ%3D%3D"
[download] Destination: Forensic Files S01E08 - The Wilson Murder.f251.webm
[download] 100% of 19.87MiB in 00:00:02 at 9.87MiB/s
[Merger] Merging formats into "Forensic Files S01E08 - The Wilson Murder.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:Forensic Files S01E08 - The Wilson Murder.f399.mp4" -i "file:Forensic Files S01E08 - The Wilson Murder.f251.webm" -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart "file:Forensic Files S01E08 - The Wilson Murder.temp.mp4"
Deleting original file Forensic Files S01E08 - The Wilson Murder.f251.webm (pass -k to keep)
Deleting original file Forensic Files S01E08 - The Wilson Murder.f399.mp4 (pass -k to keep)