Skip to content

[YouTube] Error 403 when downloading, with "Unable to decode n-parameter", not solved by new cookies #32815

@GregoriusT

Description

@GregoriusT

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: ['--no-mtime', '--match-filter', '!is_live', '--retries', 'infinite', '--fragment-retries', '2', '--skip-unavailable-fragments', '--restrict-filenames', '-i', '-o', '/home/gregorius/home/pending/videos/%(title)s___%(id)s.webm', '-f', '(bestvideo[height<=360]+worstaudio/best[height<=360])[protocol!=http_dash_segments][container!^=dash]', '--console-title', '--hls-prefer-native', '--no-cache-dir', '--http-chunk-size', '100M', '--cookies', '/home/gregorius/home/scripts/video/youtube-dl-cookies']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=I0EmyNep1pE', '-vf', '(242+249/242+250/242+171/242+251)/(243+249/243+250/243+171/243+251)/18', '--no-playlist']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Single file build
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-112-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] I0EmyNep1pE: Downloading webpage
[youtube] Downloading just video I0EmyNep1pE because of --no-playlist
[youtube] I0EmyNep1pE: Downloading player 590f65a6
WARNING: [youtube] I0EmyNep1pE: Unable to decode n-parameter: download likely to be throttled (Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output. Traceback (most recent call last):
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _decrypt_nsig
    ret = extract_nsig(jsi, func_code)(n)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1709, in extract_nsig
    raise JSInterpreter.Exception('Signature function returned an exception')
youtube_dl.jsinterp.JSInterpreter.Exception: Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
)
WARNING: [youtube] I0EmyNep1pE: Unable to decode n-parameter: download likely to be throttled (Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output. Traceback (most recent call last):
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _decrypt_nsig
    ret = extract_nsig(jsi, func_code)(n)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1709, in extract_nsig
    raise JSInterpreter.Exception('Signature function returned an exception')
youtube_dl.jsinterp.JSInterpreter.Exception: Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
)
[debug] Invoking downloader on 'https://rr2---sn-4g5lznes.googlevideo.com/videoplayback?expire=1718665474&ei=omxwZvKCJ_iai9oPrPytsAk&ip=47.69.137.137&id=o-AKm1dRgby9sFrDGVX0bJ3KgKGN1PyHSx-q_f9KRGSC_4&itag=242&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=zO&mm=31%2C26&mn=sn-4g5lznes%2Csn-f5f7lne6&ms=au%2Conr&mv=m&mvi=2&pl=19&pcm2=yes&initcwndbps=1846250&bui=AbKP-1O3YVe9fGtsxyDHU7TNneKRCgDUDHJwh-mOCN2NGJSkTd1WUBz8ZDI7BYY3UcprCDw-3wyQylOT&spc=UWF9f4QfSfv8_z5FTqrKIgbd1Z6DAne5l6xi3J5VDxJUjQ-o3xFEAi01qfSo&vprv=1&svpuc=1&mime=video%2Fwebm&ns=yYmogIIQrRok7xzlewj6aUcQ&rqh=1&gir=yes&clen=1016042&dur=191.725&lmt=1718607835104876&mt=1718643418&fvip=5&keepalive=yes&c=WEB&sefc=1&txp=630F224&n=qe5ibzBzTm3VA9bmZa&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgfyH-ksbDbOyac3rkRTnpiA_Nl3s2qIu4ZaefHXj3F5kCIQCzK-IImJCscIaBUVePhfrOHydqrVCjL0XQK11dlUvY7A%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIgNUY_e59Q8v2uPdD5xDihqT72BNgDpYP1DwWLHcSH0UMCIQCzBNlexMB54rPi1BsBVeLCNQxyrz_g9jsimTokpp4HEA%3D%3D'
[dashsegments] Total fragments: 1
[download] Destination: /home/gregorius/home/pending/videos/This_Guy_Uses_ROOK___I0EmyNep1pE.f242.webm
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 2)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 2)...
ERROR: giving up after 2 fragment retries
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 473, in main
    _real_main(argv)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 463, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2227, in download
    res = self.extract_info(
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 852, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 859, in wrapper
    return func(self, *args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 966, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1000, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1844, in process_video_result
    self.process_info(new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2126, in process_info
    partial_success = dl(fname, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2071, in dl
    return fd.download(name, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 380, in download
    return self.real_download(filename, info_dict)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/dash.py", line 78, in real_download
    self.report_error('giving up after %s fragment retries' % count)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 175, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 662, in report_error
    self.trouble(*args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 614, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

[debug] Invoking downloader on 'https://rr2---sn-4g5lznes.googlevideo.com/videoplayback?expire=1718665474&ei=omxwZvKCJ_iai9oPrPytsAk&ip=47.69.137.137&id=o-AKm1dRgby9sFrDGVX0bJ3KgKGN1PyHSx-q_f9KRGSC_4&itag=249&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=zO&mm=31%2C26&mn=sn-4g5lznes%2Csn-f5f7lne6&ms=au%2Conr&mv=m&mvi=2&pl=19&pcm2=yes&initcwndbps=1846250&bui=AbKP-1O3YVe9fGtsxyDHU7TNneKRCgDUDHJwh-mOCN2NGJSkTd1WUBz8ZDI7BYY3UcprCDw-3wyQylOT&spc=UWF9f4QfSfv8_z5FTqrKIgbd1Z6DAne5l6xi3J5VDxJUjQ-o3xFEAi01qfSo&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=yYmogIIQrRok7xzlewj6aUcQ&rqh=1&gir=yes&clen=1161452&dur=191.761&lmt=1718607847881176&mt=1718643418&fvip=5&keepalive=yes&c=WEB&sefc=1&txp=6308224&n=qe5ibzBzTm3VA9bmZa&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAI2_T6krM2pajKeKzXsbDjrszD9mLTIrH02Ms4TWM0FdAiBbGDPlRd7zNnZn86UT1A4xMbQthP6xzZulcyn_HqBJsg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIgNUY_e59Q8v2uPdD5xDihqT72BNgDpYP1DwWLHcSH0UMCIQCzBNlexMB54rPi1BsBVeLCNQxyrz_g9jsimTokpp4HEA%3D%3D'
[dashsegments] Total fragments: 1
[download] Destination: /home/gregorius/home/pending/videos/This_Guy_Uses_ROOK___I0EmyNep1pE.f249.webm
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 2)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 2)...
ERROR: giving up after 2 fragment retries
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 473, in main
    _real_main(argv)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 463, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2227, in download
    res = self.extract_info(
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 852, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 859, in wrapper
    return func(self, *args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 966, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1000, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1844, in process_video_result
    self.process_info(new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2126, in process_info
    partial_success = dl(fname, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2071, in dl
    return fd.download(name, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 380, in download
    return self.real_download(filename, info_dict)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/dash.py", line 78, in real_download
    self.report_error('giving up after %s fragment retries' % count)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 175, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 662, in report_error
    self.trouble(*args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 614, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

and from the youtube-dl-nightly the same type of error

[debug] System config: []
[debug] User config: ['--no-mtime', '--match-filter', '!is_live', '--retries', 'infinite', '--fragment-retries', '2', '--skip-unavailable-fragments', '--restrict-filenames', '-i', '-o', '/home/gregorius/home/pending/videos/%(title)s___%(id)s.webm', '-f', '(bestvideo[height<=360]+worstaudio/best[height<=360])[protocol!=http_dash_segments][container!^=dash]', '--console-title', '--hls-prefer-native', '--no-cache-dir', '--http-chunk-size', '100M', '--cookies', '/home/gregorius/home/scripts/video/youtube-dl-cookies']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=I0EmyNep1pE', '-vf', '(242+249/242+250/242+171/242+251)/(243+249/243+250/243+171/243+251)/18', '--no-playlist']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2024.06.12 [0153b387e] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-112-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] I0EmyNep1pE: Downloading webpage
[youtube] Downloading just video I0EmyNep1pE because of --no-playlist
[youtube] I0EmyNep1pE: Downloading player 590f65a6
WARNING: [youtube] I0EmyNep1pE: Unable to decode n-parameter: download likely to be throttled (Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output. Traceback (most recent call last):
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _decrypt_nsig
    ret = extract_nsig(jsi, func_code)(n)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1709, in extract_nsig
    raise JSInterpreter.Exception('Signature function returned an exception')
youtube_dl.jsinterp.JSInterpreter.Exception: Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
)
WARNING: [youtube] I0EmyNep1pE: Unable to decode n-parameter: download likely to be throttled (Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output. Traceback (most recent call last):
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _decrypt_nsig
    ret = extract_nsig(jsi, func_code)(n)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1709, in extract_nsig
    raise JSInterpreter.Exception('Signature function returned an exception')
youtube_dl.jsinterp.JSInterpreter.Exception: Signature function returned an exception; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
)
[debug] Invoking downloader on 'https://rr1---sn-4g5edns6.googlevideo.com/videoplayback?expire=1718665573&ei=BW1wZr65K-rD6dsPguar4A4&ip=47.69.137.137&id=o-AGWiYhnnFi2gYwMjiEngFFG_mTkLEY5tw7LLQ8vZOxra&itag=242&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=zO&mm=31%2C29&mn=sn-4g5edns6%2Csn-4g5lznes&ms=au%2Crdu&mv=m&mvi=1&pl=19&pcm2=yes&initcwndbps=1705000&bui=AbKP-1OuyfqSvr0ru3007fM3N7DxkqOFTDTFs5Peea0Lbj1kTJE3h_CMSJ_nEb1H8YpyRyYBuAygB1c0&spc=UWF9f1molBRRIO4AR05dXDWq6-AEI-3dzzsNSNboAQbRWJ7bEXUMXYlz-XFX&vprv=1&svpuc=1&mime=video%2Fwebm&ns=ST2xa86mQoTRTzJyy5F-mTgQ&rqh=1&gir=yes&clen=1016042&dur=191.725&lmt=1718607835104876&mt=1718643663&fvip=2&keepalive=yes&c=WEB&sefc=1&txp=630F224&n=e-sOBZGG27nbx3xUSI&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgJW0G2uflvnWao3WKRmrjsLSueCjacv2WU3BUkeMm5cwCIByTIOw4jdAaSVtw4i50PkKIQxEPlt7d6En5cZZ4OFbx&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhANRsG6osuyhOxcD9hxgdSoPuOFleBB9PHSSmqMyEj0qLAiEA8fKD4p4xgzZlk2S6ceZD1QhkOc-mXtjWyg3E1xqxVMg%3D'
[dashsegments] Total fragments: 1
[download] Destination: /home/gregorius/home/pending/videos/This_Guy_Uses_ROOK___I0EmyNep1pE.f242.webm
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 2)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 2)...
ERROR: giving up after 2 fragment retries
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 473, in main
    _real_main(argv)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 463, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2231, in download
    res = self.extract_info(
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 856, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 863, in wrapper
    return func(self, *args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 970, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1004, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1848, in process_video_result
    self.process_info(new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2130, in process_info
    partial_success = dl(fname, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2075, in dl
    return fd.download(name, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 380, in download
    return self.real_download(filename, info_dict)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/dash.py", line 78, in real_download
    self.report_error('giving up after %s fragment retries' % count)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 175, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 666, in report_error
    self.trouble(*args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 618, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

[debug] Invoking downloader on 'https://rr1---sn-4g5edns6.googlevideo.com/videoplayback?expire=1718665573&ei=BW1wZr65K-rD6dsPguar4A4&ip=47.69.137.137&id=o-AGWiYhnnFi2gYwMjiEngFFG_mTkLEY5tw7LLQ8vZOxra&itag=249&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=zO&mm=31%2C29&mn=sn-4g5edns6%2Csn-4g5lznes&ms=au%2Crdu&mv=m&mvi=1&pl=19&pcm2=yes&initcwndbps=1705000&bui=AbKP-1OuyfqSvr0ru3007fM3N7DxkqOFTDTFs5Peea0Lbj1kTJE3h_CMSJ_nEb1H8YpyRyYBuAygB1c0&spc=UWF9f1molBRRIO4AR05dXDWq6-AEI-3dzzsNSNboAQbRWJ7bEXUMXYlz-XFX&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=ST2xa86mQoTRTzJyy5F-mTgQ&rqh=1&gir=yes&clen=1161452&dur=191.761&lmt=1718607847881176&mt=1718643663&fvip=2&keepalive=yes&c=WEB&sefc=1&txp=6308224&n=e-sOBZGG27nbx3xUSI&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgeVy4plOeya9-a-P6aLWEhRr1WfGSZytZhUt3puSuQEECIGFUyjsOSHpyUaNn6Otxq-GYH4_zOBhjh-v6ceKe4IZi&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhANRsG6osuyhOxcD9hxgdSoPuOFleBB9PHSSmqMyEj0qLAiEA8fKD4p4xgzZlk2S6ceZD1QhkOc-mXtjWyg3E1xqxVMg%3D'
[dashsegments] Total fragments: 1
[download] Destination: /home/gregorius/home/pending/videos/This_Guy_Uses_ROOK___I0EmyNep1pE.f249.webm
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 2)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 2)...
ERROR: giving up after 2 fragment retries
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 473, in main
    _real_main(argv)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 463, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2231, in download
    res = self.extract_info(
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 856, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 863, in wrapper
    return func(self, *args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 970, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1004, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1848, in process_video_result
    self.process_info(new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2130, in process_info
    partial_success = dl(fname, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 2075, in dl
    return fd.download(name, new_info)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 380, in download
    return self.real_download(filename, info_dict)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/dash.py", line 78, in real_download
    self.report_error('giving up after %s fragment retries' % count)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/downloader/common.py", line 175, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 666, in report_error
    self.trouble(*args, **kwargs)
  File "/home/gregorius/home/scripts/video/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 618, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description

using both youtube-dl and youtube-dl-nightly as compiled from their respective github master repos!

Error 403 when downloading from youtube, resetting cookies and grabbing new cookies did not solve it this time. It worked like 3 hours or so ago, though i DID have issues two days ago where I could fix it myself with the cookie reset. Them Googel Devs trying to mess with downloaders and ad blockers again, I'm guessing.

Extra Info, VPN in Canada does not help, so I am certain this is not only a Germany Issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    broken-IEproblem with existing site extractionfixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions