-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constantly getting "ERROR: unable to download video data: HTTP Error 403: Forbidden" issue; no matter what. #577
Comments
log please |
Hi! LOG: --> EDIT <-- |
it's a known issue of yt-dlp yt-dlp/yt-dlp#11868
I think unreasonable http headers are more likely to lead to being banned. choose only windows+chrome or osx+safari |
Sorry, how do i send the log? |
I've been having the same problem here, in some cases the video download even reaches 100% but gives an error at the end. Log: metube_app_proxy_1 | yarn run v1.22.19
metube_app_proxy_1 | $ node ./bin/www
metube_app_proxy_1 | [HPM] Proxy created: / -> http://metube_metube_1:8081
metube_app_proxy_1 | Waiting for metube_metube_1:8081 to open...
metube_app_proxy_1 | MeTube is now ready...
metube_app_proxy_1 | Listening on port: 3700
metube_app_proxy_1 | [HPM] Upgrading to WebSocket
metube_metube_1 | Setting umask to 022
metube_metube_1 | Creating download directory (/downloads), state directory (/downloads/.metube), and temp dir (/downloads)
metube_metube_1 | Changing ownership of download and state directories to 1000:1000
metube_metube_1 | Running MeTube as user 1000:1000
metube_metube_1 | INFO:main:Listening on 0.0.0.0:8081
metube_metube_1 | DEBUG:asyncio:Using selector: EpollSelector
metube_metube_1 | INFO:ytdl:waiting for item to download
metube_metube_1 | INFO:aiohttp.access:10.21.0.14 [01/Feb/2025:17:42:08 +0000] "GET /socket.io/?EIO=4&transport=polling&t=hd6c14em HTTP/1.1" 200 309 "http://172.16.0.210:3700/" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0"
metube_metube_1 | INFO:aiohttp.access:10.21.0.14 [01/Feb/2025:17:42:08 +0000] "GET /socket.io/?EIO=4&transport=polling&t=hd6de3e7&sid=14F-s7_cpwYM3OdPAAAA HTTP/1.1" 200 17155 "http://172.16.0.210:3700/" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0"
metube_metube_1 | INFO:aiohttp.access:10.21.0.14 [01/Feb/2025:17:42:08 +0000] "POST /socket.io/?EIO=4&transport=polling&t=hd6dd5bb&sid=14F-s7_cpwYM3OdPAAAA HTTP/1.1" 200 297 "http://172.16.0.210:3700/" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0"
metube_metube_1 | INFO:ytdl:adding https://youtu.be/CZSGIeRmYn8?si=qn96Ym6omsaC8rlm: quality='best' format='any' already=None folder=None custom_name_prefix='' playlist_strict_mode=False playlist_item_limit=0
metube_metube_1 | DEBUG:ytdl:Processing as a video
metube_metube_1 | INFO:ytdl:downloading O que IAs podem fazer? | Exemplos de Ferramentas
metube_metube_1 | ======== Running on http://0.0.0.0:8081 ========
metube_metube_1 | (Press CTRL+C to quit)
metube_metube_1 | INFO:aiohttp.access:10.21.0.14 [01/Feb/2025:17:42:18 +0000] "POST /add HTTP/1.1" 200 287 "http://172.16.0.210:3700/" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0"
metube_metube_1 |
[download] 100.0% of ~ 712.00B at 1.24KiB/s ETA Unknown (frag 0/164)
[download] 0.3% of ~ 228.06KiB at 1.24KiB/s ETA Unknown (frag 1/164)
[download] 3.0% of ~ 57.02KiB at 3.10KiB/s ETA Unknown (frag 1/164)
...
[download] 92.1% of ~ 190.91MiB at 2.78MiB/s ETA 00:06 (frag 150/164)
ERROR: unable to download video data: HTTP Error 403: Forbidden
metube_metube_1 | INFO:ytdl:waiting for item to download |
try latest yt-dlp nightly build |
I ran into the same issue and fixed it by adding the some parameters to YoutubeDL in ytdl.py: yt_dlp.YoutubeDL(params={
'quiet': False,
'verbose': True,
'no_color': True,
'extract_flat': False,
'no_warnings': False,
'extractor_args': {
'youtube': {
'player_client': ['android'], # Use Android player API
'player_skip': ['webpage', 'configs'] # Skip config requests
}
},
I also added: |
@unbreakify , I was continuously getting 403 error on every download attempt, but everything works fine after updating metube to the latest version |
I've updated it and i still get the ERROR: unable to download video data: HTTP Error 403: Forbidden error. Not sure why? Refuses to download youtube videos anymore. Docker Desktop also continuously begs me to "WSL integration with distro 'Ubuntu-22.04' unexpectedly stopped. Do you want to restart it?" but anytime i click Restart or Skip, it simply kicks me back to the same error.
The text was updated successfully, but these errors were encountered: