An open API service indexing awesome lists of open source software.

https://github.com/haalven/videograb

get video files from URLs, for macOS
https://github.com/haalven/videograb

applesilicon mac movie mpv shellscript video youtube yt-dlp zsh

Last synced: about 2 months ago
JSON representation

get video files from URLs, for macOS

Awesome Lists containing this project

README

          

# videograb
get video files from URLs, for macOS

## preparations
1. install [yt-dlp](https://github.com/yt-dlp/yt-dlp): `$ brew install yt-dlp`
2. create `/etc/yt-dlp.conf` and paste [these parameters](https://github.com/haalven/videograb/blob/main/yt-dlp.conf)
3. install [mpv](https://mpv.io/): `$ brew install mpv`
4. append [the shellcode](https://github.com/haalven/videograb/blob/main/shellcode.sh) to `~/.zshrc`
5. restart the terminal

## download
grab the video: `$ grab `

(`'`URL`'` in quotation marks)

## video format
-> script selects the best available MPEG format (h264/avc, h265/hevc), but not Google's (av1, opus)