Skip to content

This a python program which scrapes out videos from channel using channel id. User has to get Access Key for hitting the api.

License

Notifications You must be signed in to change notification settings

anjkt/youtube-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

youtube-scraper

This a python program which scrapes out videos from channel using channel id. User has to get Access Key for hitting the api.

You can use it to gather data from your desired channels and get a full list of respective videos

Complexity is n^2(n number of Channels and n number of videos)

Dependencies Used:(pip install if missing)

  1. Requests
  2. CSV
  3. JSON
  4. Pandas

How to configure

  1. Put your Access token in the variable
  2. Read a csv file with a header of column with channel_ids
  3. Replace the header name
  4. Run youtube.py
  5. After completion you can get a csv with wider format of data representation
  6. This dataset can be used for ML purposes.

About

This a python program which scrapes out videos from channel using channel id. User has to get Access Key for hitting the api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages