KarthikeyaPodicheti/youtube-automation — reverse-engineered prompt
Reverse engineered prompt
Build me a set and forget YouTube uploader in Python that runs from GitHub Actions. I want it to pull videos from a Google Drive folder, upload them to my YouTube channel on a schedule a few times a day, and keep track of what has already been uploaded so it never posts the same file twice.
Please include the Google login flow I need for the first time setup, then make the automation smart enough to reuse and refresh access on its own during scheduled runs. Save simple JSON history files for processed videos, upload history, and daily upload counts so the repo always knows its current state. If those files are empty or missing, the script should recover gracefully instead of crashing.
It should also give each upload a title, description, and tags from a rotating pool so the metadata is not identical every time. Keep the whole thing easy to run from this repo, with secrets handled safely through GitHub. If you need anything, look up the current Google and GitHub Actions docs online.
Want more depth? Deep Reverse