https://github.com/lazycatcoder/youtube-downloader
YouTube media downloader
https://github.com/lazycatcoder/youtube-downloader
downloader music python pytube selenium video youtube youtube-downloader
Last synced: about 2 months ago
JSON representation
YouTube media downloader
- Host: GitHub
- URL: https://github.com/lazycatcoder/youtube-downloader
- Owner: lazycatcoder
- License: mit
- Created: 2023-03-13T13:26:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T14:45:38.000Z (over 3 years ago)
- Last Synced: 2025-11-19T16:22:08.358Z (7 months ago)
- Topics: downloader, music, python, pytube, selenium, video, youtube, youtube-downloader
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Youtube Downloader
This script a Python tool that let to search and download videos from YouTube, as well as download the selected video as an audio file. Video search is carried out in 2 ways: by link, by keyword. This script is simple and easy to use.
# Settings
To use it, you need to complete the following steps:
### 📁 Clone this repository
```
git clone https://github.com/lazycatcoder/YouTube-Downloader.git
```
### 📦 Install dependencies
```
pip install -r requirements.txt
```
### 🔧 Additional Information
For the script to work correctly, you will need a web driver that can be downloaded from the Selenium official website.
Specify the path to the downloaded web driver:
```
driver=webdriver.Chrome(executable_path=r"chromedriver.exe", options=options)
```
🔴 It is important to note that if you use the keyword search, the "num_elems" variable shows how many searched elements will be displayed in the console, the default is 10, which means that a list of the first 10 found videos will be displayed, in order to increase or decrease this list, you need to make changes to the variable "num_elems". Also keep in mind that if too large a value is specified, the script execution may be delayed in time.