Skip to content

Instantly share code, notes, and snippets.

View thiemo's full-sized avatar

Thiemo Gamma thiemo

View GitHub Profile
@thiemo
thiemo / youtube-to-quicktime.sh
Created August 27, 2017 11:11 — forked from deanishe/youtube-to-quicktime.sh
Open Current YouTube Video in QuickTime Player (or whatever)
#!/bin/bash -e
# Instead of watching YouTube videos in your browser, stream them in
# QuickTime Player (or VLC/MPlayer etc.)
#
# youtube-dl supports hundreds of websites, so it will probably work
# for a lot of video sites.
# See https://rg3.github.io/youtube-dl/
# Get URL of current tab in browser