Skip to main content

A Python package to get Youtube Videos from any channel can save the data as JSON and EXCEL

Project description

YoutubeVideo

This is a python Package which can download all youtube videos and save it as Excel File and also Json File. It allows user to get all Titles, Youtube URL and Images from their channel

special Thanks to indianpythonist

more information visit : https://github.com/soumilshah1995/YoutubeVideo

Import Library

from ytdvideo import YoutubeVideo

Create a object and provide API key

obj = YoutubeVideo(api_key="YOUR KEY", channel_id="UC_eOodxvwS_H7x2uLQa")

get the data

print(obj.get_title)

Get all Title Return List

print(obj.get_title)

Iterate over the Title

for title in obj.get_title: print(title)

Get all Link Return List

print(obj.get_video_url)

Iterate over the Link

for url in obj.get_video_url: print(url)

Get all Images Return List

print(obj.get_image)

Iterate over the Link

for img in obj.get_image: print(img)

Get all Data return Tuple

print(obj.get_all)

Iterate over the Link

for data in obj.get_all: print(data)

save as Excel File

obj.save_excel

save as JSON

obj.save_json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ytdvideo, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ytdvideo-2.0.0-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page