CLI tool to download YouTube videos
Project description
YouTube Video Xtractor
A simple CLI tool to download videos from YouTube either in MP4, MP3 or GIF format and with the ability to crop them.
Developed by Ricaidito.
Usage
yvx [-h] [-mp3] [-gif] [--start-time START_TIME] [--end-time END_TIME] [--path PATH] [--set-path SET_PATH] url
positional arguments:
url URL of the video to download.
options:
-h, --help show this help message and exit
-mp3 Convert the video to MP3 format.
-gif Convert the video to GIF format.
--start-time START_TIME
Time from where the video will start (Format: HH:MM:SS [e.g., 00:02:30]).
--end-time END_TIME Time where the video will end (Format: HH:MM:SS [e.g., 00:05:00]).
--path PATH Path to store the downloaded file.
--set-path SET_PATH Set the default path to store the downloaded files.
Examples:
To download a video in MP4 format, execute the following command:
yvx <video_url>
Download the video in MP3 format:
yvx <video_url> -mp3
Download the video in GIF format:
yvx <video_url> -gif
To extract a clip from 2:30 to 5:00:
yvx <video_url> --start-time 00:02:30 --end-time 00:05:00
You also can specify the end time only. For example, to download the video until 5:00:
yvx <video_url> --end-time 00:05:00
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yv_xtract-1.2.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file yv_xtract-1.2.tar.gz
.
File metadata
- Download URL: yv_xtract-1.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bc927acf3a0bcf52d3d3d777c2dc594404978395618070c2a66fdc40e85fda |
|
MD5 | 6e430c05a91a59fa22a963079c10bd8a |
|
BLAKE2b-256 | 43d802ea58aefe140d623ccfae450a947b2712d5798ddcc5d3bfd945b2166590 |
File details
Details for the file yv_xtract-1.2-py3-none-any.whl
.
File metadata
- Download URL: yv_xtract-1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3dd97d850710458b2a37158968276d32b00f9f27d3cbe95a417b4c8acb761cf |
|
MD5 | bee7477d484878381c305d42c29d1ccf |
|
BLAKE2b-256 | c76d089b122c4dd289d2c3dd5ee4c893412715791fbcca50287bf858846fe614 |