An open API service indexing awesome lists of open source software.

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

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.