This is a quick hack to download youtube video for offline viewing with one mouse click.
brew install youtube-dl cpanm AnyEvent::Worker cpanm Mojolicious
Start the app
- Drag the 'youtube-dl' bookmarklet link to bookmark toolbar
Start the app: ./app.pl daemon
Visit some youtube.com URL
- Click the 'youtubel-dl' bookmarklet
- The video shall be found in ~/Downloads
- The downloading is done in the background and you may leave the page right away
- It works with playlist urls
- It either has unfound / unknown bugs or no bugs at all.