Closed JesperDramsch closed 5 years ago
This also explains the quota errors:
Before the search would return only video IDs after the timestamp in your spreadsheet. Then add each one.
The quota costs are outlined here.
Now that filters are broken, YouTube returns ALL videos from a channel and adds every video to the playlist instead of only the most recent ones. Depending on the channel, that's a whole lot of videos to write.
Since quotas are daily, that will cause some funny behaviour.
The info and work done is much appreciated! 🥇
33 is merged
The info and work done is much appreciated! 🥇
Thanks! Hope this will help some people find the right answers. I was thoroughly confused why my gmail was getting spammed 🤷‍♂️
Thank you, this is very helpful. I wondered why i reached my Youtube API quota everyday;)
So basically the script has no chance to work until google fixes their stuff? That's unfortunate
That is correct. Try the search on their website. Can't sort by date
Have a workaround, that is valid even after this is fixed (if Google dont f.. up there api even more). Ide from https://stackoverflow.com/a/55207539. Its cost a little more api call point but seams valid, just tried it for one chanel. (Hope there are no edge cases that is not valid)
I may have some time this week to try to implement this but no promessis.
From what I've read, the google video search should still work. Maybe a swap from the youtube API to the google video API might be possible until google fixes youtube's APIs.
The API is back up since ~20 hours, so I guess this can be closed now :tada:
Confirmed, it runs fine for me again. It even checked the last 12 days of my 84 sources and added 46 videos without going over the time limit. Interestingly, I got no notification from the followed YouTube bug report.
Currently the app is broken and it's basically impossible to fix, without rewriting this thing entirely.
https://support.google.com/youtube/thread/2494861?hl=en
YouTube have broken their search filters a couple days ago. You can try it out on the website itself too, it's not just the API we use.
Writing this as top issue for people to find easily. The rewrite of this app would include some kind of cache of videos that have already been added. Considering the amount of work this would take and the space this would take up, I'd suggest waiting until YouTube itself is fixed.
You can subscribe to the issue on Google to get updated. The newest version here with PR #33 will not stop the error messages, but it will make sure the script will start with the videos where YouTube got broken, instead of updating itself despite the errors.