Skip to content

d4lion/MonoLoad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monoload logo

MonoLoad

It is a terminal program focused on downloading videos from the YouTube site which seeks to provide different quality formats to the user to download both audio and video files.

Installation

git clone https://github.com/daliondev/MonoLoad.git
cd \MonoLoad\

Virtual Enviroment

During the installation, it is recommended to create a virtual environment to store the requirements needed to run the program. If you wish to do so, follow the steps below.

python -m venv .

using the dot flag we can indicate that we want to create the virtual environment in the folder in which we are

Requirements

At the time of writing this help, the program makes use of few libraries to work, however the main ones are both Pytube and Tqdm and to install them you must do the following

pip install -r requirements.txt

Important

The Pytube library in its cipher.py file contains a problem decrypting YouTube videos due to the pattern it uses which must be fixed manually in the following path:

\MonoLoad\Lib\site-packages\pytube\cipher.py

In line number 264 in which the variable of a list is created, we must change all its content to the following:

function_patterns = [
    r'a\.[a-zA-Z]\s*&&\s*\([a-z]\s*=\s*a\.get\("n"\)\)\s*&&.*?\|\|\s*([a-z]+)',
    r'\([a-z]\s*=\s*([a-zA-Z0-9$]+)(\[\d+\])\([a-z]\)',
]

Usage

The use of the program is divided into Download and Multi Download Mode and are determined according to the needs that the user seeks to cover.

Mono Download and Multi Download

MonoLoad contains two ways to use which vary depending on the needs of each user, if you only want to download a video in mp3 or mp4 format, follow the steps below.

python main.py

Demo

The above will open a pop-up window in which you will have the option to download both videos and audios from YouTube, and if necessary you can download several versions in different qualities of the video or audio (This functionality does not limit the download time as it is done in parallel)

DemoMono.mp4

About

Download youtube videos using python, with pytube library, youtube videos and audios downloader

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages