Jump to content

nicolaasjan

Member
  • Posts

    580
  • Joined

  • Last visited

  • Days Won

    11
  • Donations

    0.00 USD 
  • Country

    Netherlands

nicolaasjan last won the day on October 21

nicolaasjan had the most liked content!

3 Followers

About nicolaasjan

Profile Information

  • OS
    XP Pro x86

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nicolaasjan's Achievements

640

Reputation

  1. I did it for testing (manually applying 3dyd's changes to the source of official PyInstaller 6.17.0) and converting into a wheel (built with 32bit toolchain from here on Windows 10). pyinstaller-6.17.0-py3-none-any.whl (for XP) pyinst-6.17.0_yt-dlp_x86_XP.7z
  2. Very sharp observation. 👍️ I have no idea how that might have happened... The build environment is still the same Python 3.11 from @cmalex. What is that file supposed to do. Can it do any harm?
  3. I still build on XP the old fashioned way: python -m pip install -U "setuptools>=71.0.2,<81" pip wheel pip install -U -r requirements.txt python -m pip install pyinstaller==5.13.2 python devscripts/update-version.py -c "nicolaasjan/yt-dlp" -r "nicolaasjan/yt-dlp" "2025.11.25.144622" python -m bundle.pyinstaller --onedir Where `requirements.txt` is: mutagen pycryptodomex brotli; implementation_name=='cpython' certifi requests>=2.32.2,<3 urllib3>=2.0.2,<3 websockets>=13.0 yt-dlp-ejs I have tested building with PyInstaller 6.16.0 from 3dyd (waiting for 6.17.0 now...) It can be done and it works, but it also requires a reinstall, because of the totally different contents of the zip file (link)... (and then also the ugly presence of `psapi.dll` in the root directory to make it work) TL;DR; as long as it works the old fashioned way, I'm hesitant to build with the "modern" PyInstaller on XP. 🤔 It's annoying that yt-dlp always wants the latest and "greatest". 😠
  4. Yes, I filed a complaint this morning (it was already "deleted"). Instead it's maybe better to use a PrivateBin instance. https://github.com/PrivateBin/PrivateBin
  5. Strange... Try this.
  6. Doesn't it need the `node_modules` directory? [Edit] Apparently not: Verbose log.
  7. It is portable. Extract the zip file to e.g. `C:\Bin\Node` and add that folder to the PATH.
  8. Support for EJS is now implemented in yt-dlp master branch. https://github.com/nicolaasjan/yt-dlp/releases/tag/2025.11.01.082330
  9. Here is another test version, using the PR fork with EJS support (also works on Vista). Instead of Deno, Windows 7 (and Vista) users can install QuickJS.
  10. I had to downgrade to PyInstaller 5.13.2, instead of using PyInstaller 6.16.0 for XP from 3dyd... I got a nasty error when launching the `onedir` build. yt-dlp said: [PYI-1228:ERROR] Failed to load Python DLL 'C:\bin\_internal\python311.dll'. LoadLibrary: Kan opgegeven procedure niet vinden. (can't find procedure) See Issue 2.
  11. I have no issues adding things to the PATH. Everything needed goes in `C:\Bin`. So, on XP my PATH looks like this: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Bin;C:\Python311;C:\Python311\Scripts
  12. Yes: Microsoft Windows XP [versie 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\WINDOWS\system32>qjs -h QuickJS version 2025-09-13 usage: qjs [options] [file [args]] -h --help list options -e --eval EXPR evaluate EXPR -i --interactive go to interactive mode -m --module load as ES6 module (default=autodetect) --script load as ES6 script (default=autodetect) -I --include file include an additional file --std make 'std' and 'os' available to the loaded script -T --trace trace memory allocation -d --dump dump the memory usage stats --memory-limit n limit the memory usage to 'n' bytes (SI suffixes allowed) --stack-size n limit the stack size to 'n' bytes (SI suffixes allowed) --no-unhandled-rejection ignore unhandled promise rejections -s strip all the debug info --strip-source strip the source code -q --quit just instantiate the interpreter and quit [debug] Command-line config: ['-v'] [debug] User config "C:\Documents and Settings\Nico\Application Data\yt-dlp\config.txt": ['--rm-cache-dir', '--console-title', '--js-runtimes', 'quickjs', '--add-metadata', '--embed-thumbnail', '--convert-thumbnails', 'jpg', '--ppa', 'ffmpeg:-metadata synopsis=""', '-o', '~/Bureaublad/%(title)s.%(ext)s', '--sponsorblock-remove', 'all', '-N', '6'] [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@2025.10.27 [937b84ddb] (win_x86_exe) [debug] Python 3.11.4 (CPython x86 32bit) - Windows-XP-5.1.2600-SP3 (OpenSSL 3.5.2 5 Aug 2025) [debug] exe versions: ffmpeg N-121254-g635cb4543f (fdk,setts), ffprobe N-121254-g635cb4543f, phantomjs 1.9.8 [debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.10.05, mutagen-1.47.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0, websockets-15.0.1, yt_dlp_ejs-0.2.1 [debug] JS runtimes: quickjs-2025-09-13 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Plugin directories: none [debug] Loaded 1839 extractors Removing cache dir C:\Documents and Settings\Nico/.cache\yt-dlp ...
  13. Here is a test binary of yt-dlp for Windows XP: https://dl.dropboxusercontent.com/scl/fi/nltccona7wcnn3otd2ek2/yt-dlp_XP_test.7z?rlkey=8t2m3esh9hy671bkp1wg0xq6a Install Quickjs in your PATH and add `--js-runtimes quickjs` to your config.
  14. My bad. I took the wrong one. Go here. Now it took 9 seconds to calculate. 😀️
  15. You're right. I should have read the Wiki first. Here is an updated build with quickjs support and EJS bundled. However, quickjs isn't that quick... It took 28 minutes to figure out `yt-dlp -F URL` (in the meantime using a lot of memory and CPU).
×
×
  • Create New...