woneuy01 / rng

Red And Green - YouTube API code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YouTube Video Download to mp4 + descriptions + thumbnails

Red And Green - YouTube API download / upload repo

YouTube Channel Video, Description, and Thumbnail Downloader : (Linux Version) ytapithumbget.py

YouTube Channel Video Description Uploader : (Linux Version) upload_video3.py

To use this you will have to make your own file called apikey.py and put it in the same directory as ytapithumbget.py

The format needs to be

api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

where the xxxx is YOUR YouTube API key that you get from them... It needs to be in quotes too, as it is a string in Python.

To run, just type the following from your terminal shell:

python3 ytapithumbget.py

It will prompt you for a folder name to store the saved images in - this folder will be created inside a 'youtube_downloads' folder in your installation directory.

Next : run update_video3.py, make sure you have the right "_desc.json" file in the directory where you run these scripts from. You can find the correct file for this in the folder that you made when you ran "ytapithumbget.py"

Watch the video guide to set up the API and run the code on our 'RedAndGreen YouTube channel' : https://www.youtube.com/watch?v=8h17wxgqNXY

Also check out our new code to make a multipage PDF from every YouTube video thumbnail and description: https://github.com/RGGH/rng/blob/master/pdf_demo.py :

YouTube PDF maker


NEW : YouTube Channel Comments, Likes, Views Download to CSV : (Linux Version)
YouTube Comments and Likes to CSV

Any issues contact me via the contact page at www.redandgreen.co.uk

About

Red And Green - YouTube API code


Languages

Language:Python 100.0%