Skip to main content

All in one Youtube Solution for python. Scrap, Fetch, Download anything from a Youtube Channel, Video.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yt-channel-scraper-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

yt_channel_scraper-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file yt-channel-scraper-0.1.1.tar.gz.

File metadata

  • Download URL: yt-channel-scraper-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for yt-channel-scraper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 573a4026b395b30070c618aca1e2ec7c123db5e173c613bb1f9aa7181b6cd525
MD5 6a507edf8001c1c5b6dc38039bc36a88
BLAKE2b-256 bffc88645920f3fd79152d1f4badedf73e556ac2f83bc2892c55e5683e5eadbf

See more details on using hashes here.

File details

Details for the file yt_channel_scraper-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for yt_channel_scraper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0524dcc7572a61c6f9f88760fa1aa2ab030bcf234bfceba0fae1745e9f797569
MD5 a1bc0d633425d4e5596c18a24161af4f
BLAKE2b-256 2ef363342564569a206839033f3450820f098fde54bf608f84ae414d226d3c2f

See more details on using hashes here.

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