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

How check if 402 Payment Required? #144

Closed
Conquest-zz opened this issue Aug 17, 2011 · 3 comments
Closed

How check if 402 Payment Required? #144

Conquest-zz opened this issue Aug 17, 2011 · 3 comments

Comments

@Conquest-zz
Copy link

@Conquest-zz Conquest-zz commented Aug 17, 2011

Hello,

How can i see if there is an 402 Payment Required?

$dl = exec("youtube-dl -o "file.flv" "youtubelink");

I do it that way, but we have more than 15k downloads every day... so some times we have 402 Error, but how can i check if youtube-dl gives a 402 Error back?

regards

@phihag
Copy link
Contributor

@phihag phihag commented Sep 3, 2011

This is covered in the FAQ: You're being blocked by youtube for excessive downloads and need to solve a CAPTCHA. Would it help if youtube-dl would give you said CAPTCHA to solve and offer to transfer it back to youtube?

@phihag phihag closed this Sep 13, 2011
@samrat
Copy link

@samrat samrat commented Oct 11, 2011

@phihag - I'm facing the same problem and I think your solution is viable for my case, how can I do this?

@phihag
Copy link
Contributor

@phihag phihag commented Oct 11, 2011

@samrat Discussion of the implementation has been moved to #154. Fixing the issue is planned, but since I don't encounter it personally, I'm neither overly motivated nor able to do so. However, we'd certainly appreciate a git pull request with a graceful handling of CAPTCHAs.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.