Categories
Python Code

Automating a potentially repetitive task

Write 102 workplans or write some code to do it?

The was a requirement to write 102 workplans and word/docx files. The only data that was unique to each workplan was held in a csv – 1 row per workplan, so this is how we automated the creation of 102 word documents.

Categories
Python Code

Using an API

How to use a YouTube API to get images and video descriptions from any channel using Python.

This shows how you can use some code to get the thumbnails and descriptions for every video on a chosen YouTube channel. The output from the descriptions can be saved as a local copy for editing and re-uploading.

https://github.com/RGGH

We have provided a guide on how to get the API key and clone our code.

Feel free clone the redandgreen YouTube Description Updater from GitHub : https://github.com/RGGH/rng

Once you have set this up you can back up your metatdata and add additional text to the descriptions on ALL of your videos.

The downloader allows you to download Titles, Descriptions and Video ID to a JSON file. You can do this for ANY channel.

Also you can choose to download all of the high resolution thumbnail images.