Skip to content
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

403 Forbidden on play #1286

Open
elig0n opened this issue Sep 4, 2024 · 1 comment
Open

403 Forbidden on play #1286

elig0n opened this issue Sep 4, 2024 · 1 comment

Comments

@elig0n
Copy link

elig0n commented Sep 4, 2024

Issue / Suggestion

When trying to play any song with mpv/vlc the player did not show up.
tracing a mpv log shows 403 Forbidden for a googlevideo.com URL (redacted log data below):

[   0.001][v][cplayer] Command line options: '--log-file=/home/user/mpv.log' '--force-media-title="..."' '--no-ytdl' '--really-quiet' 'https://rr1---sn-nhpax-ua8k.googlevideo.com/videoplayback?expire=1725481167...' '--input-ipc-server=/tmp/mpsyt-mpvsgtvgfh0.sock'
...
[   1.373][v][ffmpeg] Opening https://rr1---sn-nhpax-ua8k.googlevideo.com/videoplayback?expire=1725481167...
[   1.382][d][ffmpeg] tcp: Starting connection attempt to 82.102.159.12 port 443
[   1.387][d][ffmpeg] tcp: Successfully connected to 82.102.159.12 port 443
[   1.424][w][ffmpeg] https: HTTP error 403 Forbidden
[   1.424][e][stream] Failed to open https://rr1---sn-nhpax-ua8k.googlevideo.com/videoplayback?expire=1725481167...
...

I managed to overcome the problem with PR #1284 for a temporary fix

Your Environment

yewtube version : 2.10.5 (git)
yt_dlp version : 2024.08.06
Python version : 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417]

ffmpeg version n7.0.1 Copyright (c) 2000-2024 the FFmpeg developers

@astroanax
Copy link

the PR didn't work for me, with set pipe_direct_mpv and set player mpv

What am i missing? I still get the 403 error, with both VLC, and mpv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants