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
With the number of results growing, say thousand results, a list copied to the clipboard contains many duplicates. With this size, typically 3 times as many results as the number of real hits. I don't know whether this is caused by the YouTube API of by YCS. Since YCS pagination works by combining pages into a larger result, I guess YCS could check for duplicates and sort again after reading the results from a set. The copy function is really great because I can paste the result into a spreadsheet and build my own SQL from the result and eliminate results that are already in the database.
The text was updated successfully, but these errors were encountered:
This appears to be a limitation on YouTube's side that I did not account for, at about 10-13 pages in the API nextPageToken reverts back to blank which is the first page. So you can only get ~500-650 results. Since the app doesn't stop you and you get into the 1500 range you would then be seeing the duplicate entries since it looped back to the first API page 2-3 times.
I can disable the next page button when it returns blank and would need to add a message indicating why.
I have this fixed in commit 3af47e9 and will be out in the next release.
When it reaches the last page of results that the API is willing to provide the button will display as "Out of pages" and the total will be replaced with the total of displayed results to avoid confusion.
With the number of results growing, say thousand results, a list copied to the clipboard contains many duplicates. With this size, typically 3 times as many results as the number of real hits. I don't know whether this is caused by the YouTube API of by YCS. Since YCS pagination works by combining pages into a larger result, I guess YCS could check for duplicates and sort again after reading the results from a set. The copy function is really great because I can paste the result into a spreadsheet and build my own SQL from the result and eliminate results that are already in the database.
The text was updated successfully, but these errors were encountered: