I execute the following command:

curl -G https://www.googleapis.com/youtube/v3/search \
-d part="id" \
-d q="es-por-ti-juanes" \
-d maxResults="1" \
-d key="..........." \
-d type="video" \
-d videoCaption="none"

The problem comes when I launch the command that launches a query of more than 200 queries:

enter image description here

I need to do about 100 queries and only return a one query and I do not spend the requests to the api I just want to return a one video only I've tried with maxResults =" 1 " but I'm still looking for all videos with that name idea???

  • 1
    I'm voting to close this question as off-topic because it is about a YouTube API, and does not appear to be about Unix or Linux. – dhag Jun 17 '19 at 0:05
  • 1
    Take a look here. May be of some help. – bu5hman Jun 17 '19 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.