Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto update YT Descriptions using the YouTube API #1621

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dipamsen
Copy link
Member

@dipamsen dipamsen commented Jun 14, 2024

For now, this script only allows updating one video at a time, because of safety reasons, as well as the YouTube videos.update API has a high quota cost.

Obviously, this is untested code. (I have only tested the updateDescription function with a video on my channel.)

Copy link

netlify bot commented Jun 14, 2024

Deploy Preview for codingtrain ready!

Name Link
🔨 Latest commit ffbc4d6
🔍 Latest deploy log https://app.netlify.com/sites/codingtrain/deploys/6702abfd27184d00081f5e3e
😎 Deploy Preview https://deploy-preview-1621--codingtrain.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shiffman
Copy link
Member

Hi @dipamsen, super excited about this! How about we set up a "dummy" channel to test this out on before deploying it with the CT channel itself? We could maybe hardcode a single video ID and use that over and over again? Let me know, I can work on that!

@dipamsen
Copy link
Member Author

The current script is coded such that it only updates a single description at a time (to minimise damage), I think it can be directly tested on the actual channel on a obscure/non popular video, and in the worst case scenario where the description is lost, it can be manually restored via the generated description (yt-desc).

This way the entire workflow can be tested which involves getting the yt I'd of the video etc

@shiffman
Copy link
Member

shiffman commented Jul 3, 2024

Apologies for the delay @dipamsen I hope to try this out soon! Thanks for your patience!

@shiffman shiffman mentioned this pull request Aug 27, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants