Python Project to Scrape YouTube using API Part 1: Extracting Channel Data of Akshat Shrivastava

preview_player
Показать описание
In this video, we will use Python to extract YouTube data of @AkshatZayn and @warikoo. We will leverage YouTube API to get this data into python and do some basic manipulations to get some neat final output with total views and total subscribers for both the channels.

Timestamps:
01:11 Install some packages
02:17 Generate YouTube API Key
05:02 YouTube API channel documentation
06:11 Find channel ID of Akshat
08:00 Basic Code to get started with the scraping
11:00 Convert JSON format to easily understandable format
12:25 Extracting specific values from the response
16:00 Convert data into a dataframe
18:00 Doing the same process for multiple channels
22:00 Function to write a loop and get values for multiple channels
24:53 Final Data

We will first install some necessary Google API packages. After that, we need to generate some API key credentials to access the YouTube data.
Once we have done that, we will use the YouTube API documentation for channels and use the python code there to generate some information on the above mentioned channels. We will be understanding how to use loops and dictionary concept to neatly extract the data which will be in some JSON format.

In the next part of the video, we will understand how to extract video id for a particular playlist for @AkshatZayn and also compare the performance of those videos in terms of views, likes and comments using Pandas manipulation functions.
Рекомендации по теме
Комментарии
Автор

Bro am getting dataframe not defined wat do to

parthibanban
Автор

Waiting for the next part to know more about video details extraction..

greennichols
Автор

Many Thanks for creating such a valuable video, really helped.

abidawan
Автор

Absolutely smooth way to make us understand. Thanks bro !!

IndianHacker-hisBest
visit shbcf.ru