How to install youtube-dl
To install youtube-dl
, first ensure that you have a Python installed in your computer. Then, go ahead and install youtube-dl
using pip
.
Script to download white noise mp3 from YouTube
I have a script to make it an MP3, which assumes you have both youtube-dl
and ffmpeg
.
youtube-dl https://www.youtube.com/watch?v=nMfPqeZjc2c --output whitenoise.mp4
ffmpeg -i whitenoise.mp4 -q:a 0 -map a whitenoise.mp3
Now, you can use the MP3 file anywhere. It's 10 hours long, and should do the trick.
(Nothing particularly creative about this one, but I just thought it'd be a great computer hack.)
See also: