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 details)

Uploaded Python 3

File details

Details for the file ytdvideo-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: ytdvideo-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for ytdvideo-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecaec221a70e22419a22245b6ddf3d9300ba49ff343418f35a79e494760e034f
MD5 21719891e4819d3840d7bba3d64f20b9
BLAKE2b-256 9590262d4f7617f33425f21e25e15af1ed9f4fe0f1ae8bbb3e4de22e2a57669e

See more details on using hashes here.

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