-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[generic] None: Unable to download webpage: HTTP Error 403: Forbidden #6593
Comments
Seems that the server is blocking based on user-agent. Adding this allows me to download the m3u8:
But then the fragments give 403 errors, even with the The fragments 403 in browser too, with a message of ( |
I use fragment_query for it, it still get 403 error for the fragments "--extractor-args" "generic:fragment_query=https://hls2.videos.sproutvideo.com/a3f063147006cc49918f18f5f40e209e/ac7f47322156a22444b8957c99719a62/video/240_00000.ts?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20vYTNmMDYzMTQ3MDA2Y2M0OTkxOGYxOGY1ZjQwZTIwOWUvYWM3ZjQ3MzIyMTU2YTIyNDQ0Yjg5NTdjOTk3MTlhNjIvKi50cz9zZXNzaW9uSUQ9MzcwYzc3NzUtMTg0MC00ZmFiLTg2OGMtOTE1MjM2OWI1ZGFlIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjc5NTA1Mzk0fX19XX0_&Signature=rKaHTLmmhdYdkJwcfRpT-6QsoK-Ldeo5wrZhANLoGuNGTtAmPCXAe1V2w~11p8XgJqZxuA5uVtP0qNyCtvULjjBx1l2IdWaGgWT3ROSvWClrsPCG33Qnl3EBQpZ0pxeUZdWUL42SvqxHlBq3ar3vCzP4V04OVo6ZqZGfJaKBG6GNP1wE~AsbToOh~zzaaLL9W78fkgE3U6odR0lzHxZSzgQXsxWyUJJ1iVpRPCsS~niT-0Hrt8b3gPMqy9Bom-4jhWm7x5GdGDLCEmOapmGM5ABa8QYLeuv7XHv23ianxYKBjyuaRQcpTWt~dnHsvM8xnySCJLK-WXJt-faylj5vdQ__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ&sessionID=370c7775-1840-4fab-868c-9152369b5dae" |
Though maybe it should be improved so that it can take an optional argument |
Repro with yt-dl, Which punts the HLS to ffmpeg for the download and fails in a similar way. The manifest can't be played by mpv. A trace of the fragments being downloaded might help. The containing page has a slightly interesting feature that could be a target if it didn't have a JS-enabled download link: the embed Just |
@tinybug with nightly/master you should be able to download that m3u8 now, using |
@bashonly Big Thanks to you! |
@bashonly can you give example with link how to run it, thanks |
@muhamed-didovic
so, using the URLs/values from OP, it would look like this:
though you could be getting a generic extractor 403 error for any number of reasons. Without seeing more details from your end I can't say if this info will actually be helpful to you. If you weren't specifically asking about the generic extractor-args, please open a new issue |
@bashonly thank you very much for quick response, I am having issue with 403 (cloudflare) and how to bypass it |
…y` (yt-dlp#6600) Closes yt-dlp#6593 Authored by: bashonly
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Provide a description that is worded well enough to be understood
get this error: [generic] None: Unable to download webpage: HTTP Error 403: Forbidden
I write a simple demo for this url, it response 200
for the simple demo, it will respose 200.
the m3u8 url can get from this page: https://www.wanderlustentrepreneur.com/rysr-replays/
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: