-
-
Notifications
You must be signed in to change notification settings - Fork 505
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 any video #853
Comments
What video URL were you using? |
I was trying any random video
…On Thu, 26 Dec 2024, 01:58 Oleksii Holub, ***@***.***> wrote:
What video URL were you using?
—
Reply to this email directly, view it on GitHub
<#853 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOLRUEXVCDZ7CWBCMMJ57T2HNPFJAVCNFSM6AAAAABUBRCWISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRSGA3TCNJRGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I get now also the 403 Firbidden error when calling |
Same here... |
Is this happening for every1 or is just my IP blocked? |
Well, it was a temporary block. I tried again after a few days and everything worked just fine. Maybe my IP was renewed by the ISP. Please take a look at the downloader variant I have coded: |
Still not working for me tried with a vpn aswell still no luck
…On Sun, 5 Jan 2025, 21:05 udi12, ***@***.***> wrote:
Well, it was a temporary block. I tried again after a few days and
everything worked just fine. Maybe my IP was renewed by the ISP.
Please take a look of the downloader variant I have coded:
https://www.youtube.com/watch?v=cuSokN7jVCk
—
Reply to this email directly, view it on GitHub
<#853 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOLRUFKFETDEYN3EL67A2L2JGNB7AVCNFSM6AAAAABUBRCWISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRG42TANRRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Same here... |
same here |
Same issue here on version 6.4.2 and 6.5.1:
Same issue with all videos I have tested. Location is Germany, if that matters. Same result on VPN. Using youtube in incognito mode works without problems. I can provide further information and help debugging if wanted. Callstack:
|
Same here |
Same issue for me :( |
After getting a new IP from my ISP the issues have not appeared again. As currently discussed in the yt-dlp thread: |
Those who experience this issue, please confirm whether you're making authenticated (with cookies) or non-authenticated (no cookies) requests. |
it doesn't work in both cases... |
Getting an error with streamManifest.GetAudioOnlyStreams().GetWithHighestBitrate(); Looks like they want to force logging in now. |
Same for me, it seems a new YouTube anti-bot system.
|
What about adding cookies? is there a setting in YoutubeExplode to add cookies? |
Yes you can add cookies. Its a System.Net.Cookiecollection https://github.com/Tyrrrz/youtubeexplode?tab=readme-ov-file#authentication You can use WebView2 to prompt the user to login to extract the cookies. Look at how it is done in https://github.com/Tyrrrz/YoutubeDownloader |
Unfortunately, there will be no way other then mimic browser behavior by the byte. I have written a few bots in my life and the only 100% way to get the entire data is to mimic the browser 100% as if that is an actual user. Each request in the sequence of requests must be made as if a true user is using is browser. |
It's work In local but not on server! |
|
@salar-dev you have to update YoutubeExplode version to 6.5.2, when you deploy make sure to build using any cpu. |
@LunarCreative I’m using YoutubeExplode 6.5.2 "Error: Video '1xDVbu-WaFo' is not available." Or Any solution? |
As end solution What I did is doing the worst idea is to make a simple app in python using yt-dl and it worked perfectly |
same here.
and boom ... 🫣 YoutubeExplode.Exceptions.VideoUnavailableException: 'Video '6v2L2UGZJAM' is not available.' any idea how to capture captions ? issue resolved after bumping package to version 6.5.2 🫣 💪 |
Last fix worked just a few days.. Today morning same problem here |
Please post comments on issues that are actually related to the problem you're having. This issue is dedicated to the
Previously there was also the |
Version
6.5.0
Platform
.NET 8
Steps to reproduce
Details
Download video file
result
Unhandled exception. System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
Checklist
The text was updated successfully, but these errors were encountered: