Skip to main content

Get all videos for a Youtube channel

Project description

List Yuotube channel

This module was originally made to get a list of all the videos from a Yuotube channle, but was then extended to include some other functionality.

With this module you can:

  • Get all videos from a Youtube channel.
  • Get all videos from a playlist.
  • Search youtube.

Installation

pip3 install list_youtube_channel

Usage

Here a few short code examples.

Get all videos for a channel

import list_youtube_channel

videos = list_youtube_channel.get_channel("UCCezIgC97PvUuR4_gbFUs5g")

for video in videos:
    print(video['videoId'])

Get all videos for a playlist

import list_youtube_channel

videos = list_youtube_channel.get_playlist("PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU")

for video in videos:
    print(video['videoId'])

Make a search

import list_youtube_channel

videos = list_youtube_channel.get_search("python")

for video in videos:
    print(video['videoId'])

Full Documentation

https://list-youtube-channel.readthedocs.io/en/latest/

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

list_youtube_channel-2.0.0-py3-none-any.whl (5.0 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