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

Issue: HTTP 403 Forbidden Error When Playing YouTube Videos #32

Closed
Arifrizz opened this issue Jan 16, 2025 · 4 comments
Closed

Issue: HTTP 403 Forbidden Error When Playing YouTube Videos #32

Arifrizz opened this issue Jan 16, 2025 · 4 comments

Comments

@Arifrizz
Copy link

Description
I’m encountering an issue when using the "Play All" or "Listen All" options in yt-x. The playback fails, and I get an error like this:
Playing: https://www.youtube.com/watch?v=LjhCEhWiKXk [ffmpeg] https: HTTP error 403 Forbidden Failed to open https://rr4---sn-gwpa-o5bez.googlevideo.com/videoplayback?expire=1737039253&ei=NcmIZ5TtCNio9fwP4vKMsQk&ip=2409%3A40c2%3A1053%3Aeca6%3A2cd4%3A2dc3%3A67e2%3A61af&id=o-APnwmlAPZyrcipBtpbA6rFScZZlTIOuA0Y4QFa1MdJ9r&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1737017653%2C&mh=V2&mm=31%2C29&mn=sn-gwpa-o5bez%2Csn-gwpa-cvhy&ms=au%2Crdu&mv=m&mvi=4&pcm2cms=yes&pl=36&rms=au%2Cau&initcwndbps=576250&siu=1&bui=AY2Et-NuyCpuyv2raCWSmvG-xiy1wIEwaq59DWF4mGUKFP32zVP2o5Vw5YefLOM39UsHr6EI-A&spc=9kzgDaLnuXEj_mY8YLfDDNX3sDfvHNPzYTDCkJuLlgMYpOvwv7M13gQBAU-sVFCf7gvjF3besK6XH9Q&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=iC-pDxTsvZJRS1hXMocIgTIQ&rqh=1&gir=yes&clen=3924193&dur=236.761&lmt=1726350064454380&mt=1737017103&fvip=2&keepalive=yes&fexp=51326932%2C51335594%2C51353498%2C51384461&c=WEB_CREATOR&sefc=1&txp=4532434&n=p7flNw0FIWb0kw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhAItbDW79wgmY2FytIZVG4oQpq4a5YB_a1JCpyKHj99gIAiEAjRCOW8Gxg8oEAjhRrVmEzw6u7MautHCMF3tm0QFFNI0%3D&sig=AJfQdSswRQIgVGZX2vCguWqAdp8DsrTPBtsQZeGt9lRRlRmm88rZYrACIQDBrtK2t0YeDmgIjW9VDYMefaoGPuzaLMZMGNlYU4R1ww%3D%3D. EDL: Could not open source file 'https://rr4---sn-gwpa-o5bez.googlevideo.com/videoplayback?expire=1737039253&ei=NcmIZ5TtCNio9fwP4vKMsQk&ip=2409%3A40c2%3A1053%3Aeca6%3A2cd4%3A2dc3%3A67e2%3A61af&id=o-APnwmlAPZyrcipBtpbA6rFScZZlTIOuA0Y4QFa1MdJ9r&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1737017653%2C&mh=V2&mm=31%2C29&mn=sn-gwpa-o5bez%2Csn-gwpa-cvhy&ms=au%2Crdu&mv=m&mvi=4&pcm2cms=yes&pl=36&rms=au%2Cau&initcwndbps=576250&siu=1&bui=AY2Et-NuyCpuyv2raCWSmvG-xiy1wIEwaq59DWF4mGUKFP32zVP2o5Vw5YefLOM39UsHr6EI-A&spc=9kzgDaLnuXEj_mY8YLfDDNX3sDfvHNPzYTDCkJuLlgMYpOvwv7M13gQBAU-sVFCf7gvjF3besK6XH9Q&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=iC-pDxTsvZJRS1hXMocIgTIQ&rqh=1&gir=yes&clen=3924193&dur=236.761&lmt=1726350064454380&mt=1737017103&fvip=2&keepalive=yes&fexp=51326932%2C51335594%2C51353498%2C51384461&c=WEB_CREATOR&sefc=1&txp=4532434&n=p7flNw0FIWb0kw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhAItbDW79wgmY2FytIZVG4oQpq4a5YB_a1JCpyKHj99gIAiEAjRCOW8Gxg8oEAjhRrVmEzw6u7MautHCMF3tm0QFFNI0%3D&sig=AJfQdSswRQIgVGZX2vCguWqAdp8DsrTPBtsQZeGt9lRRlRmm88rZYrACIQDBrtK2t0YeDmgIjW9VDYMefaoGPuzaLMZMGNlYU4R1ww%3D%3D'. No video or audio streams selected.

This happens only with the "Play All" or "Listen All" options. Playing individual videos works fine.

Environment

  1. yt-x version: v0.4.5
  2. FFmpeg version: version n7.1
  3. OS: Arch Linux

Request
I’m not very experienced, and I don’t know how to fix this. Can someone please help me resolve this issue?

@Arifrizz
Copy link
Author

this issue only happens on long form content

@Benexl
Copy link
Owner

Benexl commented Jan 17, 2025

Its an issue with yt-dlp: yt-dlp/yt-dlp#11868

@Benexl Benexl pinned this issue Jan 17, 2025
@Benexl Benexl closed this as completed Jan 17, 2025
@Benexl
Copy link
Owner

Benexl commented Jan 18, 2025

Just update to latest yt-dlp version and it should work.

@Arifrizz
Copy link
Author

Just update to latest yt-dlp version and it should work.

thanks man guess what after updating my yt-dlp it works like a charm

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