Closed aaronkru closed 4 years ago
@dudemario Could you take a look at this?
Looking into it right now, I can still pull and add videos that were created yesterday and before, but for some reason the ones created today aren't searchable using YouTube's api
Once again, YouTube has broken its search as mentioned here. We'll just have to wait for them to fix it, nothing we can do.
@dudemario does the fix you referenced solve the search API issue?
@aaronkru No, that's a separate fix, mainly for error checking. This one is up to YT to fix and they still haven't done it yet.
Does the script add any videos anymore? Try changing the timestamp to 2/3 days before
The script has started working again for me. Does anyone else still have problems?
The script works, but sometimes doesn't add videos due to YouTube's Search API missing results. When I run the script, it misses 7 videos and when I look any of them up on YouTube's Search API, I can't find the video I'm looking for. Try running the script yourself and see if you have any missing videos. It isn't the channel's problem, since the API can find earlier videos (in fact, by the time you open that link, maybe it will find it), just not recent ones
The script seems to be working again for me! I have it set to update every 6 hours. I will keep checking over the next 24 hours to see if misses any videos. I'll report back
Started working again for me.
@dudemario Considering that Youtube at that scale has to use sharding, I can imagine that it might be a "sync issue" on Youtube's side. What I've done to combat that in my script is offset "publishedAfter" by -1h and added the publishedBefore keyword to set it to now() -1. That way I don't get all of the super latest stuff immediately, but at least I (hopefully) get all of them. If it works out, I'll let you know.
Thing is that it's older stuff like 10+ hours before. Anyways, it seems like it's improving, today I was able to run with only 1 missing, so I guess YT is fixing it. @JesperDramsch you should be fine with keeping it as normal since this issue is resolving itself, but if you prefer it that way, go ahead. If no one has any further issues, I'll close this issue in a few days due to not applicable anymore/inactivity.
Thanks for all of your constant monitoring of the script's status, cleared up the issue a lot faster.
I've been monitoring the script for the past week.. everything seems working again.. Thanks @dudemario and @Elijas for helping with this!
The script was working perfectly until yesterday. It doesn't show any errors but new videos are not being added to my playlist. I tried to disable and re-enable the YouTube API but that didn't help. I attached the updatePlaylists script.. could someone please check to see if it looks correct? I have around 1100 videos on my playlist but that shouldn't be an issue (I know it stops working once you have 5000 videos on the playlist).
Any help would be appreciated. Thanks in advance,
Aaron