Skip to content

Error after 10 Channel Queries #4

@usu-access

Description

@usu-access

We have identified an issue with larger YouTube videos (around 500-ish channels). As an example, the issue can be seen with either of these channels:

For the Huntsman channel for example, there are actually 639 videos in the channel, but YTCA returns 606, 113 of which are duplicates. To troubleshoot I went through the Channel Queries for that channel (14) and noticed that the 11th query returns the following:

{
"kind": "youtube#searchListResponse",
"etag": "AXfSerh4fAv4w-TxjTjN-PEIcSw",
"prevPageToken": "CPQDEAE",
"regionCode": "US",
"pageInfo": {
"totalResults": 665,
"resultsPerPage": 0
},
"items": []
}

For some reason the "nextPageToken" is missing so no videos are returned and then with Query #12 it starts over with the same videos queried in Query #1 leading to the duplicates.

The issue can be duplicated in other channels. We will try to look into it to fix it if we can, but if anyone has any tips on where we can start looking or ideas on what might be causing the issue, we would appreciate any help. Thanks so much for this incredible tool - it is a tremendous resource!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions