Fetch channel_id, videos, transcript from a youtube channel
Project description
yt-channel-scraper
Helps you fetch the following things of a youtube channel:
- channel_id
- videos (video_ids)
- video transcripts
channel_id
from yt_channel_scraper import YoutubeScraper
fy = YoutubeScraper("channel-link")
print(fy.get_channel_id())
videos
from yt_channel_scraper import YoutubeScraper
fy = YoutubeScraper("channel-link")
print(fy.get_video_ids(limit=20)) # limit is number of latest videos you need
video transcripts
from yt_channel_scraper import YoutubeScraper
fy = YoutubeScraper("channel-link")
v_ids = fy.get_video_ids(limit=20)
print(fy.get_video_transcript()) # fetch video transcripts of all videos
print(fy.get_video_transcript(video_id="video-id")) # fetch video transcript of single video
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
Built Distribution
Close
Hashes for yt_channel_scraper-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724ad6fd60f26e6c61d60ce055a666d6be5aabaa9881bc40086cea16eeefc4ae |
|
MD5 | 29afc00fc069e50ed772f1eee5d66cdb |
|
BLAKE2b-256 | 40de57f2c8eb2ad7f4d0382b353d4aae5b576c5831e356b9c8d572b8665fdaf2 |