Jump to content

Who here has a Youtube-DL compile for WinXP?


Recommended Posts

Posted (edited)

This won't make you happy, but in my case is true that if I don't use quickjs, which I usually don't, the m3u8 formats are not listed, what I don't care much anyway, but that is what happens to me.

There is a difference in the video information retrieval, when not using the JS runtime, it downloads only the adroind JSON, but when using the JS runtime downloads the safari player JSON, the player Javascript and then downloads the m3u8.

But I don't know why this happens to me and not to you.

[youtube] kS-9ISzMhBM: Downloading android sdkless player API JSON
[youtube] kS-9ISzMhBM: Downloading web safari player API JSON
[youtube] kS-9ISzMhBM: Downloading player c1c87fb0-main
[youtube] [jsc:quickjs] Solving JS challenges using quickjs
[youtube] kS-9ISzMhBM: Downloading m3u8 information

 

Edited by johk

Posted

@johk

What you describe is perfectly normal now :P; when one a) doesn't pass YT logged-in cookies b) doesn't enable a JS runtime, then ONLY the android_sdkless (ANDR-S) formats are being available; these don't include any HLS (m3u8) formats (BTW, the ANDR-S client doesn't work at all with YT logged-in cookies).

OTOH, the web_safari (WEB-S) client formats (of the HLS type, only) were, up until a week ago, also accessible under the above scenario; but now, because Google :realmad: have put them behind an n/sig JS challenge, they do require a JS runtime (e.g. quickjs) to be enabled for them to become available to yt-dlp.

The IOS HLS formats are (at this time at least, can't vouch for how much longer :dubbio:) accessible without a JS runtime, but they have to be explicitly requested with the 

--extractor-args "youtube:player_client=ios;formats=missing_pot"

argument; this will also yield the https IOS formats, which are inaccessible without also providing a PO Token :( ...

Hope it's clear to you now :) ...

Posted

Thanks again! :worship:

Working fine as far as I can see:

[debug] Command-line config: ['-v']
[debug] User config "C:\Users\Nico\AppData\Roaming\yt-dlp\config.txt": ['--rm-cache-dir', '--console-title', '--js-runtimes', 'node', '-o', '~/Desktop/%(title)s.%(ext)s', '-S', 'res:1080,vcodec:vp9,acodec:opus', '--embed-thumbnail', '--add-metadata', '--convert-thumbnails', 'jpg', '--ppa', 'ffmpeg:-metadata synopsis=""', '--force-ipv4', '-N', '6', '--sponsorblock-remove', 'all']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT)
[debug] yt-dlp version local@2026.01.28 [5bf91072b] (win_exe)
[debug] Python 3.14.2 (CPython AMD64 64bit) - Windows-7-6.1.7601-SP1 (OpenSSL 3.6.1 27 Jan 2026)
[debug] exe versions: ffmpeg N-122272-g224b3ff82a-WIN7 (fdk,setts), ffprobe N-122272-g224b3ff82a-WIN7, phantomjs 2.5.0
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2026.01.04, curl_cffi-0.13.0, mutagen-1.47.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.6.3, websockets-16.0, yt_dlp_ejs-0.3.2
[debug] JS runtimes: node-20.19.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1856 extractors
Removing cache dir C:\Users\Nico/.cache\yt-dlp ..

Test: yt-dlp-test.zip.

Posted (edited)

FTR, issue #15712 isn't constantly giving me 403s here (but it often does :angry: ), so, at this point, I'll say that the avc1 ANDR-S formats are unreliable (YMMV): 

yt-dlp -vf 136+140 "MKjJTjWwD0M" =>

[debug] Command-line config: ['--ffmpeg-location', 'FFmpeg', '--downloader-args', 'ffmpeg:-v 8 -stats', '-vf', '136+140', 'MKjJTjWwD0M']
[debug] Encodings: locale cp1253, fs utf-8, pref cp1253, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version master@2026.01.28.035725 from yt-dlp/yt-dlp-master-builds [5bf91072b] (zip)
[debug] Python 3.11.14 (CPython x86 32bit) - Windows-Vista-6.0.6003-SP2 (OpenSSL 3.6.0 1 Oct 2025)
[debug] exe versions: ffmpeg n8.1-dev-630-N-121254-g635cb45 (setts), ffprobe n8.1-dev-630-N-121254-g635cb45
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2026.01.04, curl_cffi-0.14.0b2, mutagen-1.47.0, requests-2.32.5, sqlite3-3.51.2, urllib3-2.6.3, websockets-16.0, yt_dlp_ejs-0.3.2
[debug] JS runtimes: none
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1856 extractors
[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 (unavailable), quickjs (unavailable)
[youtube] Extracting URL: MKjJTjWwD0M
[youtube] MKjJTjWwD0M: Downloading webpage
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add  --js-runtimes RUNTIME[:PATH]  to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See  https://github.com/yt-dlp/yt-dlp/wiki/EJS  for details on installing one
[debug] [youtube] Forcing "main" player JS variant for player afc53320
        original url = /s/player/afc53320/player_es6.vflset/en_US/base.js
[youtube] MKjJTjWwD0M: Downloading android sdkless player API JSON
[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
[info] MKjJTjWwD0M: Downloading 1 format(s): 136+140
[debug] Invoking http downloader on "https://rr1---sn-4vguioxu-n3bz.googlevideo.com/videoplayback?expire=1769639064&ei=Nzh6af79Ouy-mLAPz_-AoAE&ip=redacted&id=o-AN2WuWsCRapljCXx-NzvLk0FJyf3S16eB0eRffxJ72RH&itag=136&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&cps=378&met=1769617463%2C&mh=ko&mm=31%2C29&mn=sn-4vguioxu-n3bz%2Csn-nv47zn7y&ms=au%2Crdu&mv=m&mvi=1&pl=22&rms=au%2Cau&initcwndbps=1185000&bui=AW-iu_oSrgWiRvoggXB19EsSbEPtHVfCQcogYlmRaDLtGwZoDJH0KheHLEPfwVBHMwhe0JzEnxq2r8Rn&spc=q5xjPM2yLwkT426_mKEsW2gKpkLEf5ihhZB3rkj8U4mM-6mfI6I&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=21180105&dur=173.633&lmt=1769570849768674&mt=1769616895&fvip=3&keepalive=yes&fexp=51552689%2C51565116%2C51565682%2C51580968&c=ANDROID&txp=5535534&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJEij0EwRAIgC-5m76CXAtOTZoXORPUm8OFZ4w0Gi5rvEBvznQXpJXICIANjiW3HfY5aQZfdhq-SSF80289rW5gHGfTEF-G6yv6V&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRQIgEAcimmDf_-R9YW-Iiz5YVRu0uebhkOjF4kowaCjvzFcCIQCwzO32ij8Aa-cPl0Ss8lgCvF4cSeYIf6B9FCuZSj6-Yw%3D%3D"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].f136.mp4
[download] 100% of   20.20MiB in 00:01:27 at 237.57KiB/s
[debug] Invoking http downloader on "https://rr1---sn-4vguioxu-n3bz.googlevideo.com/videoplayback?expire=1769639064&ei=Nzh6af79Ouy-mLAPz_-AoAE&ip=<redacted>&id=o-AN2WuWsCRapljCXx-NzvLk0FJyf3S16eB0eRffxJ72RH&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&cps=378&met=1769617463%2C&mh=ko&mm=31%2C29&mn=sn-4vguioxu-n3bz%2Csn-nv47zn7y&ms=au%2Crdu&mv=m&mvi=1&pl=22&rms=au%2Cau&initcwndbps=1185000&bui=AW-iu_oSrgWiRvoggXB19EsSbEPtHVfCQcogYlmRaDLtGwZoDJH0KheHLEPfwVBHMwhe0JzEnxq2r8Rn&spc=q5xjPM2yLwkT426_mKEsW2gKpkLEf5ihhZB3rkj8U4mM-6mfI6I&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=2812478&dur=173.731&lmt=1769568370627241&mt=1769616895&fvip=3&keepalive=yes&fexp=51552689%2C51565116%2C51565682%2C51580968&c=ANDROID&txp=5532534&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJEij0EwRAIgCH6ivDbp1B8Kc22SWFu9wo9bCr7bN-boqKP709JpNGcCIGyge-JkcDuKGVKw6PD6Ir0HA_SIk82rnzexFM7ZSxBc&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRQIgEAcimmDf_-R9YW-Iiz5YVRu0uebhkOjF4kowaCjvzFcCIQCwzO32ij8Aa-cPl0Ss8lgCvF4cSeYIf6B9FCuZSj6-Yw%3D%3D"
[download] Destination: Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].f140.m4a
[download] 100% of    2.68MiB in 00:00:14 at 190.92KiB/s
[Merger] Merging formats into "Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].mp4"
[debug] ffmpeg command line: FFmpeg\ffmpeg -y -loglevel repeat+info -i "file:Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].f136.mp4" -i "file:Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].f140.m4a" -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart "file:Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].temp.mp4"
Deleting original file Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].f136.mp4 (pass -k to keep)
Deleting original file Nebraska at Michigan | HIGHLIGHTS | Big Ten Basketball | 01?27?2026 [MKjJTjWwD0M].f140.m4a (pass -k to keep)
Edited by VistaLover

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...