[Python] Google API youtube channel list limit result=5...

Discussão em 'Python' iniciado por Stack, Maio 19, 2025.

  1. Stack

    Stack Membro Participativo

    I'm developing a python script that executes some check on yt channels. I need to retreive channel_id full list of video, or at least the last 30-40 videos.

    I'm using the API https://www.googleapis.com/youtube/v3/search with the following params:

    • API KEY
    • channel ID
    • part=id
    • maxResults=30

    However it always shows me only 5 results as the FULL set of result. There is no pagination. Even testing the API from the google console it returns me the same. Additionally, if I call consecutvely the API I get one time 4 results, one time 5, one time 3... seems to be randomic.

    Maybe there is somewhere some limitation. Any suggestions?

    Thanks

    I expected it to retourn the number of reslts of maxResults

    Continue reading...

Compartilhe esta Página