youtubepy is a package to search for youtube videos with python
Project description
youtubepy
youtubepy is a package to search for youtube videos through python code.
Usage
from youtubepy import Video
video = Video("me at the zoo")
result = video.search()
print(result)
> https://www.youtube.com/watch?v=A8AlbaDmaec
Attributes available for Video
search()
title()
channel_url()
channel_name()
thumbnail()
duration()
view_count()
like_count()
dislike_count()
average_rating()
from youtubepy import ExtractInfo
video = ExtractInfo("https://youtu.be/A8AlbaDmaec")
title = video.title()
print(title)
> Me at the zoo - 4k Upscaled, 60 FPS
Attributes available for ExtractInfo
title()
channel_url()
channel_name()
thumbnail()
duration()
view_count()
like_count()
dislike_count()
average_rating()
Note - This package is currently under development
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
youtubepy-2.6.tar.gz
(2.2 kB
view hashes)