THIS TECHNIQUE NO LONGER WORKS!
I will post an update in the future with code that using the Goggle API.
YouTube always list the videos and playlists with a lot of graphics and thumbnail images which look nice, but it does not fit much on a page for reference.
I tried to use write a program using their API, but decided it was better to try 'screen scraping' or 'web scraping'. This is a technique that is used to get information out of web pages.
I ended up writing a python program. Since many sites do not like scrapping, I checked the User Terms Contract for YouTube, and it is OK as long as it is as slow as a human.
I walk through version 1.0 of the code at my YouTube video @ https://youtu.be/NvxAhUkVgHU
Also please subscribe to my YouTube channel
I decided to pull the following data for the CSV file:
- channel name
- section name
- playlist name
- video title
- video link
- video time length
- number of views
- publication date
- number of likes
- number of dislikes
- video description
I have embedded a gist here that you can see and get the code from:
You need python 3.6 or greater and just need to change the channel name near the top of the program.
Then run it to create the CSV and HTML file in the current run directory.
If you only need the HTML, json, or CSV file, see the if __name__ == '__main__' section and write an driver py program with imports like run_json.py example.
Your post is absolutely outstanding. The thought, creativity, and care behind every detail truly show. It’s inspiring, engaging, and beautifully presented in a way that makes it unforgettable.
ReplyDeleteAnd this is the best site to download youtube videos is YTDOWN this site is the best Youtube Downloader
.
I would appreciate it if you could review and approve my comment. Thank you.