Created
May 11, 2023 23:09
-
-
Save endurtech/5dbc5b0927a44470e560ccd3b2cb4785 to your computer and use it in GitHub Desktop.
A bash function I stumbled upon online. To be defined in .bashrc or just pasted into bash before exe. download. Once function is installed, run it via: |rumble <URL>|. Tested on Ubuntu 18.04lts and confirmed working.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rumble() { | |
youtube-dl --no-check-certificate -f mp4-480p/webm-480p/mp4-360p/mp4-720p/mp4-1080p $(curl -s "$1" | tr -d '\n'|awk -F "embedUrl" '{print $2}'|awk -F '"' '{print $3}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment