Metadata-Version: 2.1
Name: yt-channel-scraper
Version: 0.1.0
Summary: Fetch channel_id, videos, transcript from a youtube channel
Author: Priyanshu Panwar
Author-email: priyanshu009ch@gmail.com
Project-URL: Source, https://github.com/priyanshu-panwar/yt-channel-scraper
Description-Content-Type: text/markdown

# yt-channel-scraper
[![📦️Upload PyPi Package](https://github.com/priyanshu-panwar/yt-channel-scraper/actions/workflows/publish.yml/badge.svg)](https://github.com/priyanshu-panwar/yt-channel-scraper/actions/workflows/publish.yml) [![🧪Test](https://github.com/priyanshu-panwar/yt-channel-scraper/actions/workflows/test.yml/badge.svg)](https://github.com/priyanshu-panwar/yt-channel-scraper/actions/workflows/test.yml)

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
```
