Overview¶
YouTube DL Scraper is a Python library for scraping YouTube video/audio streams and metadata. It's lightweight, easy to use, and perfect for integrating YouTube data into your projects.
Warning
This is the alpha version and the project is still in the testing phase.
Features¶
- Fetch video metadata such as title, description, and available streams.
- Filter video/audio streams by resolution, bitrate, or format.
- Download video/audio streams effortlessly.
- Modular and extensible for advanced use cases.
Installation¶
Install via pip recommended¶
YouTube DL Scraper is published as a Python package and can be installed with
pip
, ideally by using a virtual environment1. Open up a terminal and install
YouTube DL Scraper with:
Example Usage
Fetch title
and download YouTube video:
example.py | |
---|---|
- Importing scraper from package
- Output:
'Driving The New Fastest Car Ever Made!'
- Output (file path):
'driving-the-new-fastest-car-ever-made-720p-30fps.mp4'
-
A virtual environment in programming (specifically in Python) is an isolated workspace that allows you to manage dependencies, libraries, and tools for a particular project without affecting the global system environment. ↩