You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The -j is supposed to only return valid video results and I think we should keep that behaviour. Outputting the list of regions allowed could be a good idea.
I agree but giving JSON with video status is better than ERROR.
Actually JSON should be outputted always instead of ERROR. It's not an error when the video is removed, private or available only for some regions. It's a value info which should have a json format.
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.
The text was updated successfully, but these errors were encountered: