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.
Display JSON for videos with only some regions allowed #5716
Comments
|
The |
|
I agree but giving JSON with video status is better than ERROR.
and so on... |
ex.:
./youtube-dl -j https://www.youtube.com/watch?v=JTIBV-86Pt0
ERROR: JTIBV-86Pt0: YouTube said: The uploader has not made this video available in your country.
When you look at the page source metas:
<meta itemprop="regionsAllowed" content="AR,BO,CL,CO,DO,EC,PE,PR,PY,US,UY,VE">It would be great if instead of ERROR, the json output would give the array of allowed countries so you can use a proper proxy for a second try.