Re:Apple introduces Digital narration for books
by hiidrew on Thursday January 05, 2023 @09:45AM
(#34260229)
TIL. This is an interesting capability of the command line. Have any more fun ones? (at least fun to a CL noob)
[ Parent
| on HN ]
Re:Apple introduces Digital narration for books
by ivan_ah on Thursday January 05, 2023 @09:54AM
(#34260367)
Here is another script `getmp3.sh` that you can use to download .mp3 file from any youtube music video:
#!/usr/bin/env bash
echo "Downloading mp3 from $1"
yt-dlp -x --audio-format mp3 "$1"
You'll need to install https://github.com/yt-dlp/yt-dlp#installation before you can use that. As you can see, the "script" is just so to add a options `-x` (extract audio) and `--audio-format mp3` to convert to mp3 in the end.
Re:Apple introduces Digital narration for books
by macintux on Thursday January 05, 2023 @10:06AM
(#34260570)
I haven't figured out how to effectively search my HN favorites, else I'd probably be able to find a few more of these, but this was discussed recently:
https://git.herrbischoff.com/awesome-macos-command-line/abou...