Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How check if 402 Payment Required? #144
Comments
|
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 - I'm facing the same problem and I think your solution is viable for my case, how can I do this? |
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