-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[10Play] "403 Forbidden" error #28641
Comments
How do I add cookies or headers with youtube-dl? |
Getting the same error on 10play for a different show. Would really appreciate a fix. |
I get a similar error on Crunchyroll, rolling back to an older version of youtube-dl should fix it. |
Older versions get the same error. |
Thanks @mist8kengas! Rolling back to version "2021.4.1" fixed the problem with Crunchyroll. |
A yt-dl version from Dec 2020 gives the same error. |
For what it's worth, trying "youtube-dl --username=##### https://10play.com.au/...." gives the same error as noted before, although I do get prompted for a 10Play password before getting the error. Using my 10Play account creds, of course. |
Welcome to programming, @bnw42. |
Sorry .. I didn't know the user/pwd option only worked with sites that yt-dl is coded to work with. I thought the user/pwd option was more generic. Life is about constantly learning new things. :) My coding experience is a bit prehistoric (think punch card programming!). |
There's some complicated simulation of filling in the actual login form for some of the sites. 10Play's quite straightforward, though. |
Except --username doesn't yet work for 10play. Mind you, even logging onto the website & using an out of the box install of chrome, I can't play videos on the 10play site since they broke yt-dl. But that's not an issue for here. |
@stefanodvx Can this fix also be used for non premium / free videos? The 403 error on crunchyroll seems to be related to cloudflares bot protection. |
Now for the OPs issue with 10Play ... |
Just to reiterate, here is the output in verbose mode: [debug] System config: [] |
You seem anxious so here's a build of #28728 for *nix while you wait: |
Not anxious so much, just keen with the encouragement of @bnw42 (thanks) Output of what happens when I try the new youtube-dl you sent me (I have censored out the information that doesn't need to be made public)
|
Thanks for testing for me. My changes only supported Python2.7. I've made the necessary changes for Python3.5. youtube-dl_28728_1.zip |
Obviously not the windows executable, but there's no filetype, so unlike FlaminHat I have no idea what to do with the file. :( |
Tested this on python3.7 -- it works for me.. |
How do you use this fix? |
@jmagic YES! This version works! @Genesisfury In Terminal, drag and drop the file "youtube-dl" you unzipped from the zip, and enter the parameters like you normally use the "youtube-dl" command. It should come out in the Terminal as
|
Probably just another person looking for the Windows build. If I had a heart, I would. Best they wait for the formal process of review, merge and release. May take extra long with being both |
Doesn't work. It gives me the password prompt "Type account password and press [Return]". When doing so, it returns with "ERROR" fixed output name but more than one file to download" |
Running in terminal implies linux or maybe MacOS. Being a windows user, not much use. Still, the issue is in the works so I'm content to wait for the windoze exec to come out with the fix. |
I made the necessary edits thanks to aarubui, complied for windows and it's working for me. |
Hi Ronnnny, could you please upload your Windows version for those of us who use the Windows one until this problem has been resolved. |
use with -u "username" -p "password" |
Works fine on Win10 .. but on Win7 this gives the dreaded "missing api-ms-win-core-path-l1-1-0.dll" error, which is an unresolvable error with win7 since the dll in question only works with Win8+. For Win7 it needs to be compiled with python 3.8.6 or earlier or as a 32-bit executable. :( |
Getting a Error 400: Bad request after it says "logging in". Any idea? |
Worked fine for me on a Win10 pc. I assume you have a 10Play account? The command line format is: No quotes etc around username & password. When I created my 10play account, I had to put in an email address as the username. I did rename the exec patch as 10p.exe so there's less typing. :) |
Oh, I was putting a = after the -u and -p. It's working now. Thank you! I appreciate it. |
I've found websites describing how to use the command line switches for youtube-dl to be somewhat contradictory. Some sites say to put in ='s before the username & password, others don't. I found by trial & error that the ='s are a no-no .. at least with windows. |
try this one on win7, no guarantees as I don't have win7 to test on. |
If you'll pardon a pun, it works a peach! Peach being one of the 10Play channels. |
This has fixed my issue - thank you!!! @aarubui |
The ver. provided by @Ronnnny does indeed work (with username and password) - could we get it pushed into master please? |
This is brilliant. Worked beautifully. Thanks! |
Thank you! Works on macOS. |
To update - this is still an issue on the latest version of youtube-dl so still using tis modified version |
According to the changelog for the recent release, there were only a few issues addresses and those were attempted workarounds to get ty-dl working with youtube & porn hub. There were no fixes for 10play and no generic fixes (ie fixes that would apply to all sites). Given the long queue of issues waiting to be dealt with and that 10play viewers are a small minority, it'll be a long time before this issue is addressed. I'd strongly recommend switching to a yt-dl fork such as yt-dlp. yt-dlp does work with the webpage urls for 10play, as long as you input a user name & password (which the modified version of yt-dl also requires). |
Thank you @bnw42 I wasn't aware of yt-dlp I will give it a go - really appreciate the help |
I've been using yt-dlp for 6 months now. It's updated regularly. It does have additional features, but in the basic mode it works the same as yt-dl. So much so if you use a GUI, you can rename yt-dlp.exe as youtube-dl.exe and replace the obsolete yt-dl file in the GUI install. I know of a few users who tried that and it worked. To get yt-dlp, go to this site (also on github): https://github.com/yt-dlp/yt-dlp Scroll down to the "installation" section and download the relevant binary for your os. Like youtube-dl, once you have it on your computer, running "yt-dlp -u" will check for any updates & download the latest version, as with yt-dl. |
I'm closing this thread because the question has been answered (user/pass required) and and yt-dlp provides additional answers to the problems. Thankyou for your help with this issue. |
Why does it say "Forbidden" here?
Output of "verbose" option follows:
The text was updated successfully, but these errors were encountered: