Skip to main content

yt-channel-scraper

📦️Upload PyPi Package 🧪Test

All in one Youtube Tool for Python.

Helps you fetch the following things of a youtube channel:

  • channel_id
  • videos (video_ids)
  • video transcripts
  • download videos

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

download videos

from yt_channel_scraper import YoutubeDownloader

yd = YoutubeDownloader("video-link")
print(yd.get_download_streams()) # show the available streams to download with tags
yd.download_stream("tag") # give the tag from available streams whichever to download
yd.download_highest_resolution() # download highest resolution available

Metadata

Release files for yt-channel-scraper 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yt-channel-scraper 0.1.1
File Size Uploaded
yt-channel-scraper-0.1.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yt-channel-scraper 0.1.1
File Interpreter ABI Platform
yt_channel_scraper-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / yt-channel-scraper-0.1.1.tar.gz

Download URL yt-channel-scraper-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
573a4026b395b30070c618aca1e2ec7c123db5e173c613bb1f9aa7181b6cd525
BLAKE2b-256 checksum
How to use checksums
bffc88645920f3fd79152d1f4badedf73e556ac2f83bc2892c55e5683e5eadbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / yt_channel_scraper-0.1.1-py3-none-any.whl

Download URL yt_channel_scraper-0.1.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0524dcc7572a61c6f9f88760fa1aa2ab030bcf234bfceba0fae1745e9f797569
BLAKE2b-256 checksum
How to use checksums
2ef363342564569a206839033f3450820f098fde54bf608f84ae414d226d3c2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page