Content Type
Profiles
Forums
Events
Everything posted by nicolaasjan
-
Here is my current folder with dependencies already included: https://dl.dropboxusercontent.com/scl/fi/2b36ypa7wjhdaitwzi9ij/Python311_XP-folder.7z?rlkey=v9gmygvodp942f05537fv26w0 Don't upgrade PyInstaller 5.13.2; you'll run into errors...
-
For the Vista lovers 😽 : yt-dlp_Py3.11_Vista.7z (password: 987123). Updated today. (the XP version does not work on Vista)
-
Yes. My XP release is now based on Python 3.11.4 yt-dlp -v [debug] Command-line config: ['-v'] [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.08.28 [1e28f6bf7] (win_x86_exe) [debug] Python 3.11.4 (CPython x86 32bit) - Windows-XP-5.1.2600-SP3 (OpenSSL 3.1.0-dev ) [debug] exe versions: ffmpeg N-116828-g6aafe61-Reino (fdk,setts), ffprobe N-116828-g6aafe61-Reino, phantomjs 1.9.8 [debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.08.03, mutagen-1.47.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0, websockets-15.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Plugin directories: none [debug] Loaded 1840 extractors
-
yt-dlp also compiles on Windows XP with the Python 3.11.4 kindly provided by @cmalex. 😀️ yt-dlp_Py3.11_XP.7z (password: 987123)
-
With my latest version of yt-dlp (2025.08.23.181722), I get: [youtube] Extracting URL: https://www.youtube.com/watch?v=zBq_krhKbW4 [youtube] zBq_krhKbW4: Downloading webpage [youtube] zBq_krhKbW4: Downloading tv client config [youtube] zBq_krhKbW4: Downloading player 5ec65609-main [youtube] zBq_krhKbW4: Downloading tv player API JSON [youtube] zBq_krhKbW4: Downloading tv simply player API JSON [SponsorBlock] Fetching SponsorBlock segments [SponsorBlock] Found 1 segments in the SponsorBlock database [info] Available formats for zBq_krhKbW4: ID EXT RESOLUTION FPS CH | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR ASR MORE INFO ------------------------------------------------------------------------------------------------------------------------------ sb3 mhtml 48x27 0 | mhtml | images storyboard sb2 mhtml 80x45 0 | mhtml | images storyboard sb1 mhtml 160x90 0 | mhtml | images storyboard sb0 mhtml 320x180 0 | mhtml | images storyboard 249-drc webm audio only 2 | 2.09MiB 50k https | audio only opus 50k 48k [en] low, DRC, webm_dash 250-drc webm audio only 2 | 2.83MiB 68k https | audio only opus 68k 48k [en] low, DRC, webm_dash 249 webm audio only 2 | 2.09MiB 50k https | audio only opus 50k 48k [en] low, webm_dash 250 webm audio only 2 | 2.83MiB 68k https | audio only opus 68k 48k [en] low, webm_dash 140-drc m4a audio only 2 | 5.37MiB 129k https | audio only mp4a.40.2 129k 44k [en] medium, DRC, m4a_dash 251-drc webm audio only 2 | 5.57MiB 134k https | audio only opus 134k 48k [en] medium, DRC, webm_dash 140 m4a audio only 2 | 5.37MiB 129k https | audio only mp4a.40.2 129k 44k [en] medium, m4a_dash 251 webm audio only 2 | 5.56MiB 134k https | audio only opus 134k 48k [en] medium, webm_dash 160 mp4 256x144 30 | 1.34MiB 32k https | avc1.4d400c 32k video only 144p, mp4_dash 278 webm 256x144 30 | 2.74MiB 66k https | vp9 66k video only 144p, webm_dash 394 mp4 256x144 30 | 2.11MiB 51k https | av01.0.00M.08 51k video only 144p, mp4_dash 133 mp4 426x240 30 | 2.58MiB 62k https | avc1.4d4015 62k video only 240p, mp4_dash 242 webm 426x240 30 | 3.40MiB 82k https | vp9 82k video only 240p, webm_dash 395 mp4 426x240 30 | 3.04MiB 73k https | av01.0.00M.08 73k video only 240p, mp4_dash 134 mp4 640x360 30 | 4.54MiB 109k https | avc1.4d401e 109k video only 360p, mp4_dash 18 mp4 640x360 30 2 | 15.60MiB 376k https | avc1.42001E mp4a.40.2 44k [en] 360p 243 webm 640x360 30 | 7.40MiB 178k https | vp9 178k video only 360p, webm_dash 396 mp4 640x360 30 | 5.31MiB 128k https | av01.0.01M.08 128k video only 360p, mp4_dash 135 mp4 854x480 30 | 6.79MiB 164k https | avc1.4d401f 164k video only 480p, mp4_dash 244 webm 854x480 30 | 11.17MiB 269k https | vp9 269k video only 480p, webm_dash 397 mp4 854x480 30 | 8.73MiB 210k https | av01.0.04M.08 210k video only 480p, mp4_dash 136 mp4 1280x720 30 | 10.14MiB 244k https | avc1.4d401f 244k video only 720p, mp4_dash 247 webm 1280x720 30 | 20.35MiB 491k https | vp9 491k video only 720p, webm_dash 398 mp4 1280x720 30 | 15.27MiB 368k https | av01.0.05M.08 368k video only 720p, mp4_dash 137 mp4 1920x1080 30 | 35.75MiB 862k https | avc1.640028 862k video only 1080p, mp4_dash 248 webm 1920x1080 30 | 37.23MiB 897k https | vp9 897k video only 1080p, webm_dash 399 mp4 1920x1080 30 | 26.49MiB 639k https | av01.0.08M.08 639k video only 1080p, mp4_dash 271 webm 2560x1440 30 | 110.21MiB 2657k https | vp9 2657k video only 1440p, webm_dash 400 mp4 2560x1440 30 | 90.71MiB 2186k https | av01.0.12M.08 2186k video only 1440p, mp4_dash 313 webm 3840x2160 30 | 396.68MiB 9562k https | vp9 9562k video only 2160p, webm_dash 401 mp4 3840x2160 30 | 204.96MiB 4940k https | av01.0.12M.08 4940k video only 2160p, mp4_dash
-
Python 3.11.4 yt-dlp variant for Windows Vista 😀️ : yt-dlp_Py3.11_Vista (password: 987123) I will check tomorrow if it compiles on XP.
-
2 false positives.
-
It is Python 3.10.18 based, but Dropbox notified me via mail that link sharing was temporarily disabled (did they detect a possible virus???). I have now enabled sharing again and password protected my file. yt-dlp_Vista_x86.7z (password: 987123). [debug] Command-line config: ['-v'] [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 nicolaasjan/yt-dlp@2025.08.23.181722 (win_x86_exe) [debug] Python 3.10.18 (CPython AMD64 32bit) - Windows-Vista-6.0.6003-SP2 (OpenSSL 3.1.0-dev ) [debug] exe versions: ffmpeg N-116828-g6aafe61-Reino (fdk,setts), ffprobe N-116828-g6aafe61-Reino, phantomjs 2.5.0 [debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.08.03, mutagen-1.47.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0, websockets-15.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Plugin directories: none [debug] Loaded 1840 extractors I could also upload it to GitHub, but compiling and updating the repo is becoming a time consuming task by now (I also have a new Linux x86 Py3.11 standalone executable).
-
For @VistaLover : Vista compatible yt-dlp here (password: 987123).
-
Test binary of yt-dlp for XP, made with Python 3.10.18 from a new Python 3.10 environment provided by @cmalex: See link in signature. Did not work on Windows Vista @VistaLover
-
They should have equal functionality. Though the Windows 7 version, built with Python 3.13 might be somewhat faster (didn't check). P.S. I've fixed the update issue with the .exe versions; no errors and warnings any more: [debug] Fetching release info: https://api.github.com/repos/nicolaasjan/yt-dlp/releases/latest [debug] Downloading _update_spec from https://github.com/nicolaasjan/yt-dlp/releases/latest/download/_update_spec [debug] Downloading SHA2-256SUMS from https://github.com/nicolaasjan/yt-dlp/releases/download/2025.08.16.082053/SHA2-256SUMS Current version: nicolaasjan/yt-dlp@2025.08.14.072314 Latest version: nicolaasjan/yt-dlp@2025.08.16.082053 Current Build Hash: 3becb2e3a07da4635929c347ef2c2499e30ab1752b55154d7168a47eca0bff66 Updating to nicolaasjan/yt-dlp@2025.08.16.082053 ... [debug] Downloading yt-dlp_x86_win7.exe from https://github.com/nicolaasjan/yt-dlp/releases/download/2025.08.16.082053/yt-dlp_x86_win7.exe Updated yt-dlp to nicolaasjan/yt-dlp@2025.08.16.082053
-
You were right, there was an error in my `update.py` (Locally; not in the source on GitHub yet). I have uploaded a new x86_win7 file.
-
I was notified by someone, that the `--update` option used for the Windows 7 builds, now gives an error: [debug] Fetching release info: https://api.github.com/repos/nicolaasjan/yt-dlp/releases/latest [debug] Downloading _update_spec from https://github.com/nicolaasjan/yt-dlp/releases/latest/download/_update_spec [debug] Downloading SHA2-256SUMS from https://github.com/nicolaasjan/yt-dlp/releases/download/2025.08.14.072314/SHA2-256SUMS WARNING: The hash could not be found in the checksum file, skipping verification Current version: nicolaasjan/yt-dlp@2025.08.10.082046 Latest version: nicolaasjan/yt-dlp@2025.08.14.072314 Current Build Hash: f5bfc88f5fc6eee457a74efc80aeb0f0ffed3f5943569cc443fbe689d83ef829 Updating to nicolaasjan/yt-dlp@2025.08.14.072314 ... [debug] Downloading yt-dlp_win7_x86.exe from https://github.com/nicolaasjan/yt-dlp/releases/download/2025.08.14.072314/yt-dlp_win7_x86.exe ERROR: The requested tag nicolaasjan/yt-dlp@2025.08.14.072314 does not exist How do I solve this???
-
I tested adang1345's Python 3.14.0rc1 and was able to build and run yt-dlp on Windows 7 (in a VM snapshot). That should give us 5 years. Only issue: I had to compile the Brotli dependency myself, because it is not yet offered on PyPI. Cffi wheel for Python 3.14 was found here.
-
I understand. We all hope this unprovoked invasion will soon be a thing of the past and you'll have more time for your hobby. 🇺🇦
-
@cmalex Thanks again for your efforts to keep Python alive on vintage operating systems! Using your latest Python 3.9 environment, I successfully updated the included yt-dlp via pip to the Nightly build: pip install -U --pre "yt-dlp[default]" Now I get the warning: `yt-dlp -v` output: [debug] Command-line config: ['-v'] [debug] User config "C:\Documents and Settings\Nico\Application Data\yt-dlp\config.txt": ['--rm-cache-dir', '--console-title', '--add-metadata', '--embed-thumbnail', '--convert-thumbnails', 'jpg', '--ppa', 'ffmpeg:-metadata synopsis=""', '-o', '~/Bureaublad/%(title)s.%(ext)s', '-S', 'res:720,vcodec:h264,acodec:mp4a', '--sponsorblock-remove', 'all'] Deprecated Feature: Support for Python version 3.9 has been deprecated. Please update to Python 3.10 or above [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 nightly@2025.07.31.233123 from yt-dlp/yt-dlp-nightly-builds [71f30921a] (pip) [debug] Python 3.9.13 (CPython x86 32bit) - Windows-XP-5.1.2600-SP3 (OpenSSL 1.1.1i 8 Dec 2020) [debug] exe versions: ffmpeg N-116828-g6aafe61-Reino (fdk,setts), ffprobe N-116828-g6aafe61-Reino, phantomjs 1.9.8 [debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.07.14, mutagen-1.47.0, requests-2.32.4, sqlite3-3.37.2, urllib3-2.5.0, websockets-15.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Plugin directories: none [debug] Loaded 1858 extractors Removing cache dir C:\Documents and Settings\Nico/.cache\yt-dlp .. Python 3.9 support will be fully dropped in October 2025 (#13861). See also #13858. Is it feasible for you to port Python 3.10 or even 3.11 to Windows XP? I'm sure the community here would be very grateful if you succeeded.
-
The answer was actually from Copilot AI.
-
I have been "brain"storming with Copilot (something I'd rather like to avoid 😡) and "it" came with this: Testing that script gave me: Connecting to www.google.com:443 Socket connection error: [Errno 0] Error Copilot's answer:
-
Link is in this post from @cmalex. My current `C:\Python39` folder with the needed site-packages for building yt-dlp here.
-
At the moment my youtube-dl fork still works with YouTube.
-
For my Py3.9 build on XP no version of PyInstaller after 5.13.2 works. So, I do: python -m pip install -U "setuptools>=71.0.2,<81" pip wheel pip install -U pyinstaller==5.13.2 -r requirements.txt Where `requirements.txt` is: mutagen pycryptodomex brotli; implementation_name=='cpython' certifi requests>=2.32.2,<3 urllib3>=1.26.17,<3 websockets>=13.0 O, that is the debug (--verbose) mode of yt-dlp itself.
-
Can someone please test my yt-dlp Python 3.11 build, to see if you face the same errors when trying to download a video? [debug] Command-line config: ['-v', 'https://www.youtube.com/watch?v=Ef9QnZVpVd8'] [debug] User config "C:\Documents and Settings\Nico\Application Data\yt-dlp\config.txt": ['--rm-cache-dir', '--proxy', '', '--console-title', '--force-ipv4', '--add-metadata', '--embed-thumbnail', '--convert-thumbnails', 'jpg', '--ppa', 'ffmpeg:-metadata synopsis=""', '-o', '~/Bureaublad/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--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 nicolaasjan/yt-dlp@2025.07.27.085012 (win_x86_exe) [debug] Python 3.11.9 (CPython x86 32bit) - Windows-XP-5.1.2600-SP3 (OpenSSL 3.3.1 4 Jun 2024) [debug] exe versions: ffmpeg N-116828-g6aafe61-Reino (fdk,setts), ffprobe N-116828-g6aafe61-Reino, phantomjs 1.9.8 [debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.07.14, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.5.0, websockets-15.0.1 [debug] Proxy map: {'all': '__noproxy__'} [debug] Request Handlers: urllib, requests, websockets [debug] Plugin directories: none [debug] Loaded 1856 extractors Removing cache dir C:\Documents and Settings\Nico/.cache\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 [youtube] Extracting URL: https://www.youtube.com/watch?v=Ef9QnZVpVd8 [youtube] Ef9QnZVpVd8: Downloading webpage WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x0378AF30>: Failed to establish a new connection: [Errno 0] Error. Retrying (1/3)... [youtube] Ef9QnZVpVd8: Downloading webpage WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x032FD1B0>: Failed to establish a new connection: [Errno 0] Error. Retrying (2/3)... [youtube] Ef9QnZVpVd8: Downloading webpage WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x032FB730>: Failed to establish a new connection: [Errno 0] Error. Retrying (3/3)... [youtube] Ef9QnZVpVd8: Downloading webpage WARNING: [youtube] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x0378A110>: Failed to establish a new connection: [Errno 0] Error (caused by TransportError('<urllib3.connection.HTTPSConnection object at 0x0378A110>: Failed to establish a new connection: [Errno 0] Error')). Giving up after 3 retries [youtube] Ef9QnZVpVd8: Downloading initial data API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x032F9AD0>: Failed to establish a new connection: [Errno 0] Error. Retrying (1/3)... [youtube] Ef9QnZVpVd8: Downloading initial data API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x032F6FB0>: Failed to establish a new connection: [Errno 0] Error. Retrying (2/3)... [youtube] Ef9QnZVpVd8: Downloading initial data API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x032FBE90>: Failed to establish a new connection: [Errno 0] Error. Retrying (3/3)... [youtube] Ef9QnZVpVd8: Downloading initial data API JSON ERROR: [youtube] Ef9QnZVpVd8: Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x032F9910>: Failed to establish a new connection: [Errno 0] Error (caused by TransportError('<urllib3.connection.HTTPSConnection object at 0x032F9910>: Failed to establish a new connection: [Errno 0] Error')) File "yt_dlp\extractor\common.py", line 761, in extract File "yt_dlp\extractor\youtube\_video.py", line 3814, in _real_extract File "yt_dlp\extractor\youtube\_video.py", line 3794, in _initial_extract File "yt_dlp\extractor\youtube\_video.py", line 3772, in _download_initial_data File "yt_dlp\extractor\youtube\_base.py", line 1213, in _extract_response File "yt_dlp\utils\_utils.py", line 5248, in __iter__ File "yt_dlp\extractor\common.py", line 4059, in _error_or_warning File "yt_dlp\utils\_utils.py", line 5256, in report_retry File "yt_dlp\extractor\youtube\_base.py", line 1203, in _extract_response File "yt_dlp\extractor\youtube\_base.py", line 791, in _call_api File "yt_dlp\extractor\common.py", line 1149, in download_content File "yt_dlp\extractor\common.py", line 1107, in download_handle File "yt_dlp\extractor\common.py", line 972, in _download_webpage_handle File "yt_dlp\extractor\youtube\_base.py", line 769, in _request_webpage File "yt_dlp\extractor\common.py", line 921, in _request_webpage File "urllib3\connection.py", line 198, in _new_conn File "urllib3\util\connection.py", line 60, in create_connection File "socket.py", line 962, in getaddrinfo OSError: [Errno 0] Error The above exception was the direct cause of the following exception: Traceback (most recent call last): File "yt_dlp\networking\_requests.py", line 338, in _send File "requests\sessions.py", line 589, in request File "requests\sessions.py", line 703, in send File "requests\adapters.py", line 667, in send File "urllib3\connectionpool.py", line 841, in urlopen File "urllib3\util\retry.py", line 449, in increment File "urllib3\util\util.py", line 39, in reraise File "urllib3\connectionpool.py", line 787, in urlopen File "urllib3\connectionpool.py", line 488, in _make_request File "urllib3\connectionpool.py", line 464, in _make_request File "urllib3\connectionpool.py", line 1093, in _validate_conn File "urllib3\connection.py", line 753, in connect File "urllib3\connection.py", line 213, in _new_conn urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x032F9910>: Failed to establish a new connection: [Errno 0] Error The above exception was the direct cause of the following exception: Traceback (most recent call last): File "yt_dlp\extractor\common.py", line 908, in _request_webpage File "yt_dlp\YoutubeDL.py", line 4236, in urlopen File "yt_dlp\networking\common.py", line 117, in send File "yt_dlp\networking\_helper.py", line 194, in wrapper File "yt_dlp\networking\common.py", line 359, in send File "yt_dlp\networking\_requests.py", line 366, in _send yt_dlp.networking.exceptions.TransportError: <urllib3.connection.HTTPSConnection object at 0x032F9910>: Failed to establish a new connection: [Errno 0] Error
-
A long time ago I asked user @Maroc (now gone...) on the My Digital Life Forums about his Python 3.11 Embed build for XP. As I mentioned before, I can't get it working on XP. See also our conversation later in that thread. I managed to build yt-dlp with it, but when using I get errors like: WARNING: [youtube] Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x03B29A70>: Failed to establish a new connection: [Errno 0] Error (caused by TransportError('<urllib3.connection.HTTPSConnection object at 0x03B29A70>: Failed to establish a new connection: [Errno 0] Error'))
-
I was thinking about that, but it may not be easy, I guess? When the time comes, maybe someone here will help me with it (I'm not a Python coder). Furthermore, newer changes applied to the various extractors (especially for YouTube), using code that is incompatible with Python <3.10 will not work anyway. From Issue #13858:
-
Bad news ☹️ : yt-dlp starts preparations to remove Python 3.9 support (October 2025): https://github.com/yt-dlp/yt-dlp/pull/13861 https://github.com/yt-dlp/yt-dlp/issues/13858