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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ytdvideo-2.0.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page