Zzzzzzzzzzdel

· eog's blog


[ytdl_hook] [debug] System config "/etc/yt-dlp.conf": ['--add-header', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20110101 Firefox/34.0', '-c', '--convert-thumbnails', 'jpg', '--console-title', '--downloader', 'm3u8:ffmpeg', '-f', 'mp4', '--no-cache-dir', '--progress', '-r6M', '-R5', '--restrict-filenames', '-v', '--write-thumbnail'] [ytdl_hook] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) [ytdl_hook] [debug] yt-dlp version stable@2025.06.30 from yt-dlp/yt-dlp [b01878449] (zip) [ytdl_hook] [debug] Python 3.13.7 (CPython x86_64 64bit) - Linux-6.1.153-1-MANJARO-x86_64-with-glibc2.42 (OpenSSL 3.5.3 16 Sep 2025, glibc 2.42) [ytdl_hook] [debug] exe versions: ffmpeg 7.1.1 (setts), ffprobe 7.1.1, rtmpdump 2.4 [ytdl_hook] [debug] Optional libraries: certifi-2025.08.03, pycrypto-3.23.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0 [ytdl_hook] [debug] Proxy map: {} [ytdl_hook] [debug] Request Handlers: urllib, requests [ytdl_hook] [debug] Plugin directories: none [ytdl_hook] [debug] Loaded 1857 extractors [ytdl_hook] [generic] Extracting URL: https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 [ytdl_hook] [generic] 9288959c-e45b-419e-8920-f4ba57422b02: Downloading webpage [ytdl_hook] ERROR: [generic] Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: Bad Gateway>) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 752, in extract [ytdl_hook] ie_result = self._real_extract(url) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/generic.py", line 2418, in _real_extract [ytdl_hook] full_response = self._request_webpage(url, video_id, headers=filter_dict({ [ytdl_hook] 'Accept-Encoding': 'identity', [ytdl_hook] 'Referer': smuggled_data.get('referer'), [ytdl_hook] }), impersonate=impersonate) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 921, in _request_webpage [ytdl_hook] raise ExtractorError(errmsg, cause=err) [ytdl_hook] [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 908, in _request_webpage [ytdl_hook] return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions)) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 4197, in urlopen [ytdl_hook] return self._request_director.send(req) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 117, in send [ytdl_hook] response = handler.send(request) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_helper.py", line 194, in wrapper [ytdl_hook] return func(self, *args, **kwargs) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 359, in send [ytdl_hook] return self._send(request) [ytdl_hook] ~~~~~~~~~~^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_requests.py", line 368, in _send [ytdl_hook] raise HTTPError(res, redirect_loop=max_redirects_exceeded) [ytdl_hook] yt_dlp.networking.exceptions.HTTPError: HTTP Error 502: Bad Gateway [ytdl_hook] youtube-dl failed: unexpected error occurred Exiting... (Errors when loading file) mabox@mabox ~ $ mpv() { local url="$1"; shift; command echo --referrer="$url" "$url" "$@"; } mabox@mabox ~ $ mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 mabox@mabox ~ $ cut -d/ -f 0-3 <<<https://ramen.bunkr.ru/9288959c cut: fields are numbered from 1 Try 'cut --help' for more information. mabox@mabox ~ $ cut -d/ -f 1-3 <<<https://ramen.bunkr.ru/9288959c https://ramen.bunkr.ru mabox@mabox ~ $ mpv() { local url="$1" shift command mpv --referrer="$(cut -d/ -f 1-3 <<< $url)" "$url" "$@" } mabox@mabox ~ $ mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 client removed during hook handling [ffmpeg] https: HTTP error 502 Bad Gateway Failed to open https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4. [ytdl_hook] Subprocess failed: init [ytdl_hook] Subprocess failed: init [ytdl_hook] [debug] Command-line config: ['--no-warnings', '-J', '--flat-playlist', '--sub-format', 'ass/srt/best', '--format', 'bestvideo+bestaudio/best', '--sub-langs', 'all', '--write-srt', '--no-playlist', '--', 'https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4'] [ytdl_hook] [debug] System config "/etc/yt-dlp.conf": ['--add-header', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20110101 Firefox/34.0', '-c', '--convert-thumbnails', 'jpg', '--console-title', '--downloader', 'm3u8:ffmpeg', '-f', 'mp4', '--no-cache-dir', '--progress', '-r6M', '-R5', '--restrict-filenames', '-v', '--write-thumbnail'] [ytdl_hook] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) [ytdl_hook] [debug] yt-dlp version stable@2025.06.30 from yt-dlp/yt-dlp [b01878449] (zip) [ytdl_hook] [debug] Python 3.13.7 (CPython x86_64 64bit) - Linux-6.1.153-1-MANJARO-x86_64-with-glibc2.42 (OpenSSL 3.5.3 16 Sep 2025, glibc 2.42) [ytdl_hook] [debug] exe versions: ffmpeg 7.1.1 (setts), ffprobe 7.1.1, rtmpdump 2.4 [ytdl_hook] [debug] Optional libraries: certifi-2025.08.03, pycrypto-3.23.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0 [ytdl_hook] [debug] Proxy map: {} [ytdl_hook] [debug] Request Handlers: urllib, requests [ytdl_hook] [debug] Plugin directories: none [ytdl_hook] [debug] Loaded 1857 extractors [ytdl_hook] [generic] Extracting URL: https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 [ytdl_hook] [generic] 9288959c-e45b-419e-8920-f4ba57422b02: Downloading webpage [ytdl_hook] ERROR: [generic] Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: Bad Gateway>) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 752, in extract [ytdl_hook] ie_result = self._real_extract(url) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/generic.py", line 2418, in _real_extract [ytdl_hook] full_response = self._request_webpage(url, video_id, headers=filter_dict({ [ytdl_hook] 'Accept-Encoding': 'identity', [ytdl_hook] 'Referer': smuggled_data.get('referer'), [ytdl_hook] }), impersonate=impersonate) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 921, in _request_webpage [ytdl_hook] raise ExtractorError(errmsg, cause=err) [ytdl_hook] [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 908, in _request_webpage [ytdl_hook] return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions)) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 4197, in urlopen [ytdl_hook] return self._request_director.send(req) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 117, in send [ytdl_hook] response = handler.send(request) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_helper.py", line 194, in wrapper [ytdl_hook] return func(self, *args, **kwargs) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 359, in send [ytdl_hook] return self._send(request) [ytdl_hook] ~~~~~~~~~~^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_requests.py", line 368, in _send [ytdl_hook] raise HTTPError(res, redirect_loop=max_redirects_exceeded) [ytdl_hook] yt_dlp.networking.exceptions.HTTPError: HTTP Error 502: Bad Gateway [ytdl_hook] youtube-dl failed: unexpected error occurred Exiting... (Errors when loading file) mabox@mabox ~ $ mpv() { local url="$1" shift command echo --referrer="$(cut -d/ -f 1-3 <<< $url)" "$url" "$@" } mabox@mabox ~ $ mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 mabox@mabox ~ $ mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru --referrer=https://ramen.bunkr.ru https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru mabox@mabox ~ $ mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru --referrer=https://ramen.bunkr.ru https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru mabox@mabox ~ $ \mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru --referrer=https://ramen.bunkr.ru https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru mabox@mabox ~ $ /usr/bin/mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://ramen.bunkr.ru [ffmpeg] https: HTTP error 502 Bad Gateway Failed to open https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4. [ytdl_hook] Subprocess failed: init [ytdl_hook] Subprocess failed: init [ytdl_hook] [debug] Command-line config: ['--no-warnings', '-J', '--flat-playlist', '--sub-format', 'ass/srt/best', '--format', 'bestvideo+bestaudio/best', '--sub-langs', 'all', '--write-srt', '--no-playlist', '--', 'https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4'] [ytdl_hook] [debug] System config "/etc/yt-dlp.conf": ['--add-header', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20110101 Firefox/34.0', '-c', '--convert-thumbnails', 'jpg', '--console-title', '--downloader', 'm3u8:ffmpeg', '-f', 'mp4', '--no-cache-dir', '--progress', '-r6M', '-R5', '--restrict-filenames', '-v', '--write-thumbnail'] [ytdl_hook] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) [ytdl_hook] [debug] yt-dlp version stable@2025.06.30 from yt-dlp/yt-dlp [b01878449] (zip) [ytdl_hook] [debug] Python 3.13.7 (CPython x86_64 64bit) - Linux-6.1.153-1-MANJARO-x86_64-with-glibc2.42 (OpenSSL 3.5.3 16 Sep 2025, glibc 2.42) [ytdl_hook] [debug] exe versions: ffmpeg 7.1.1 (setts), ffprobe 7.1.1, rtmpdump 2.4 [ytdl_hook] [debug] Optional libraries: certifi-2025.08.03, pycrypto-3.23.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0 [ytdl_hook] [debug] Proxy map: {} [ytdl_hook] [debug] Request Handlers: urllib, requests [ytdl_hook] [debug] Plugin directories: none [ytdl_hook] [debug] Loaded 1857 extractors [ytdl_hook] [generic] Extracting URL: https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 [ytdl_hook] [generic] 9288959c-e45b-419e-8920-f4ba57422b02: Downloading webpage [ytdl_hook] ERROR: [generic] Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: Bad Gateway>) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 752, in extract [ytdl_hook] ie_result = self._real_extract(url) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/generic.py", line 2418, in _real_extract [ytdl_hook] full_response = self._request_webpage(url, video_id, headers=filter_dict({ [ytdl_hook] 'Accept-Encoding': 'identity', [ytdl_hook] 'Referer': smuggled_data.get('referer'), [ytdl_hook] }), impersonate=impersonate) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 921, in _request_webpage [ytdl_hook] raise ExtractorError(errmsg, cause=err) [ytdl_hook] [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 908, in _request_webpage [ytdl_hook] return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions)) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 4197, in urlopen [ytdl_hook] return self._request_director.send(req) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 117, in send [ytdl_hook] response = handler.send(request) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_helper.py", line 194, in wrapper [ytdl_hook] return func(self, *args, **kwargs) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 359, in send [ytdl_hook] return self._send(request) [ytdl_hook] ~~~~~~~~~~^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_requests.py", line 368, in _send [ytdl_hook] raise HTTPError(res, redirect_loop=max_redirects_exceeded) [ytdl_hook] yt_dlp.networking.exceptions.HTTPError: HTTP Error 502: Bad Gateway [ytdl_hook] youtube-dl failed: unexpected error occurred Exiting... (Errors when loading file) mabox@mabox ~ $ /usr/bin/mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=https://bunkr.ru client removed during hook handling [ffmpeg/demuxer] mpegts: start time for stream 2 is not set in estimate_timings_from_pts ● Video --vid=1 (h264 1920x1080 29.97 fps) ● Audio --aid=1 (aac 2ch 44100 Hz 203 kbps) AO: [pipewire] 44100Hz stereo 2ch floatp VO: [gpu] 1920x1080 yuv420p AV: 00:00:00 / 00:14:20 (0%) A-V: 0.000 Dropped: 8 Cache: 70s/24MB Exiting... (Quit) mabox@mabox ~ $ /usr/bin/mpv https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 --referrer=bunkr.ru [ffmpeg] https: HTTP error 502 Bad Gateway Failed to open https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4. [ytdl_hook] Subprocess failed: init [ytdl_hook] Subprocess failed: init [ytdl_hook] [debug] Command-line config: ['--no-warnings', '-J', '--flat-playlist', '--sub-format', 'ass/srt/best', '--format', 'bestvideo+bestaudio/best', '--sub-langs', 'all', '--write-srt', '--no-playlist', '--', 'https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4'] [ytdl_hook] [debug] System config "/etc/yt-dlp.conf": ['--add-header', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20110101 Firefox/34.0', '-c', '--convert-thumbnails', 'jpg', '--console-title', '--downloader', 'm3u8:ffmpeg', '-f', 'mp4', '--no-cache-dir', '--progress', '-r6M', '-R5', '--restrict-filenames', '-v', '--write-thumbnail'] [ytdl_hook] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) [ytdl_hook] [debug] yt-dlp version stable@2025.06.30 from yt-dlp/yt-dlp [b01878449] (zip) [ytdl_hook] [debug] Python 3.13.7 (CPython x86_64 64bit) - Linux-6.1.153-1-MANJARO-x86_64-with-glibc2.42 (OpenSSL 3.5.3 16 Sep 2025, glibc 2.42) [ytdl_hook] [debug] exe versions: ffmpeg 7.1.1 (setts), ffprobe 7.1.1, rtmpdump 2.4 [ytdl_hook] [debug] Optional libraries: certifi-2025.08.03, pycrypto-3.23.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0 [ytdl_hook] [debug] Proxy map: {} [ytdl_hook] [debug] Request Handlers: urllib, requests [ytdl_hook] [debug] Plugin directories: none [ytdl_hook] [debug] Loaded 1857 extractors [ytdl_hook] [generic] Extracting URL: https://ramen.bunkr.ru/9288959c-e45b-419e-8920-f4ba57422b02.mp4 [ytdl_hook] [generic] 9288959c-e45b-419e-8920-f4ba57422b02: Downloading webpage [ytdl_hook] ERROR: [generic] Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: Bad Gateway>) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 752, in extract [ytdl_hook] ie_result = self._real_extract(url) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/generic.py", line 2418, in _real_extract [ytdl_hook] full_response = self._request_webpage(url, video_id, headers=filter_dict({ [ytdl_hook] 'Accept-Encoding': 'identity', [ytdl_hook] 'Referer': smuggled_data.get('referer'), [ytdl_hook] }), impersonate=impersonate) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 921, in _request_webpage [ytdl_hook] raise ExtractorError(errmsg, cause=err) [ytdl_hook] [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/extractor/common.py", line 908, in _request_webpage [ytdl_hook] return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions)) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 4197, in urlopen [ytdl_hook] return self._request_director.send(req) [ytdl_hook] ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 117, in send [ytdl_hook] response = handler.send(request) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_helper.py", line 194, in wrapper [ytdl_hook] return func(self, *args, **kwargs) [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/common.py", line 359, in send [ytdl_hook] return self._send(request) [ytdl_hook] ~~~~~~~~~~^^^^^^^^^ [ytdl_hook] File "/home/mabox/bin/youtube-dl/yt_dlp/networking/_requests.py", line 368, in _send [ytdl_hook] raise HTTPError(res, redirect_loop=max_redirects_exceeded) [ytdl_hook] yt_dlp.networking.exceptions.HTTPError: HTTP Error 502: Bad Gateway [ytdl_hook] youtube-dl failed: unexpected error occurred

last updated: