### Install ytb_downloader with pip Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/docs/source/02_installation.rst Installs the latest stable release of the ytb_downloader package directly from PyPI using pip. This is the recommended installation method. ```console pip install ytb_downloader ``` -------------------------------- ### Set Up Virtual Environment Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/CONTRIBUTING.rst Creates and activates a virtual environment for local development and installs the project using Poetry or pip. ```Shell python -m virtualenv ytb_downloader-venv source ytb_downloader-venv/bin/activate cd ytb_downloader/ poetry install # or pip install -e . ``` -------------------------------- ### Clone ytb_downloader repository Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/docs/source/02_installation.rst Clones the public GitHub repository for ytb_downloader to obtain the source code. This is the first step for installing from sources. ```console git clone https://github.com/zhiwei2017/ytb_downloader.git ``` -------------------------------- ### Install ytb_downloader from source with Poetry Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/docs/source/02_installation.rst Installs the ytb_downloader package from its local source code after cloning the repository, using the Poetry dependency manager. ```console poetry install ``` -------------------------------- ### Install ytb_downloader from source with pip Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/docs/source/02_installation.rst Installs the ytb_downloader package from its local source code after cloning the repository, using pip. ```console pip install . ``` -------------------------------- ### Install ytb_downloader Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/README.rst Installs the ytb_downloader package using pip. This is the standard method for installing Python packages. ```Shell pip install ytb_downloader ``` -------------------------------- ### Get Help for ytb_downloader Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/README.rst Displays the help message for the ytb_downloader command-line tool, showing all available options and usage instructions. ```Shell ytb_downloader --help ``` -------------------------------- ### Deploy Project Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/CONTRIBUTING.rst Increments the project version, pushes changes and tags to GitHub for deployment via GitHub Actions. ```Shell poetry version patch # possible: major / minor / patch git push git push --tags ``` -------------------------------- ### Run Linting and Tests Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/CONTRIBUTING.rst Executes linting checks (mypy, bandit) and tests to ensure code quality. ```Shell make mypy make bandit make test ``` -------------------------------- ### Create and Push Branch Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/CONTRIBUTING.rst Creates a new branch for development and pushes changes to GitHub. ```Shell git checkout -b name-of-your-bugfix-or-feature git add . git commit -m "Your detailed description of your changes." git push origin name-of-your-bugfix-or-feature ``` -------------------------------- ### Clone Repository Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/CONTRIBUTING.rst Clones the ytb_downloader repository locally for development. ```Shell git clone git@your_repo_url.git ``` -------------------------------- ### Bulk Download YouTube Video from CSV Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/README.rst Downloads multiple YouTube videos listed in a CSV file. The CSV file should contain a list of URLs in a single column. ```Shell ytb_downloader_bulk --video-only example.csv ``` -------------------------------- ### Bulk Download YouTube Audio from CSV Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/README.rst Downloads multiple YouTube audio files listed in a CSV file. The CSV can specify URLs, formats, time ranges, and bitrates. ```Shell ytb_downloader_bulk example.csv ``` -------------------------------- ### Download YouTube Audio Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/README.rst Downloads audio from a YouTube video. You can specify the output format, such as MP3. ```Shell ytb_downloader "" ``` ```Shell ytb_downloader --format "mp3" "https://www.youtube.com/watch?v=nOubjLM9Cbc" ``` -------------------------------- ### Download YouTube Video Only Source: https://github.com/zhiwei2017/ytb_downloader/blob/develop/README.rst Downloads only the video content from a YouTube URL, ignoring the audio stream. ```Shell ytb_downloader --video-only "" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.