Very simple python script using pytube module to download youtube videos using terminal.
- Required python modules can be installed by running
pip install -r requirements.txt
- Tested on Linux kali 6.1.0-kali9-arm64 #1 SMP Debian 6.1.27-1kali1 (2023-05-12) aarch64 GNU/Linux
- REQUIRED cipher.py in /usr/local/lib/python'your version'/dist-packages/pytube/ has to be replaced with the one from this git
"Quick fix until pytube updates their module to fix RegexMatchError: get_transform_object: could not find match for var for={(.*?)};"
To find where pytube is installed on your machine, if running linux you can run updatedb
in terminal.
After that run locate pytube/cipher.py
in terminal and replace cipher.py with the new cipher.py