Skip to content

Instantly share code, notes, and snippets.

@sneakers-the-rat
Created January 6, 2021 23:24
Show Gist options
  • Save sneakers-the-rat/c17181c1c0e6d882c5bbebf2b1aed6b8 to your computer and use it in GitHub Desktop.
Save sneakers-the-rat/c17181c1c0e6d882c5bbebf2b1aed6b8 to your computer and use it in GitHub Desktop.
using youtube dl
###########
# Mac
# (copy and paste these into your Terminal (Open Terminal from Applications > Utilities > Terminal)
# 1. install homebrew if you haven't already
# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 2. install youtube-dl
brew install youtube-dl
# 3. download videos using a direct link to tweet (share -> copy link to tweet)
# eg. youtube-dl https://twitter.com/bubbaprog/status/1346920198461419520
youtube-dl <copy/paste link to tweet here>
########
# Windows
# 1. Download this file to somewhere on your PATH (like C:\Windows)
https://yt-dl.org/latest/youtube-dl.exe
# 2. Open your command prompt (eg. press windows sign + R and type "cmd" in the Run window)
# 3. Follow step 3 from Mac instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment