I've been using
https://github.com/tokland/youtube-upload
to automate uploading of videos to YouTube, no other processes share the auth session, this process is the only one using the credentials. I've been using this for years however more recently, within the last couple months, it seems like the OAuth session keeps expiring on me almost on a weekly basis. This would break my automation and I have to re-authenticate weekly.
No updates were done to the script prior to this issue starting. Is anyone aware of any changes Google had made that may have cause this new behavior to happen?
The reproduction is as follows:
- Have sufficient route to upload videos onto YouTube API
- Use https://github.com/tokland/youtube-upload to upload videos to YouTube
- When executing
youtube-upload, it will prompt for OAuth2 authZ code, enter the code after visiting authZ webpage - Automate the uploads (~30 videos per day)
- After a week, OAuth authZ session will expire and re-authZ will be required