Download list of YouTube files
If you need to download a list of YouTube videos and don't want to download the
actual YouTube list (which yt-dlp
supports), you can use the following method.
// Used to get list of raw URL's from YouTube's video tab'.
// Copy them into videos.txt.
document.querySelectorAll('#contents a.ytd-thumbnail.style-scope.ytd-thumbnail').forEach(el => console.log(el.href))
Download and install https://github.com/yt-dlp/yt-dlp.
# This will download all videos in videos.txt.
yt-dlp --batch-file videos.txt -N `nproc` -f webm
Other notes
- Set color temperature of displays on i3
- vim Personal sane Vim defaults
- AWS EB PyYAML fix
- plan9 Fix bootloader not being written in Plan9
- plan9 Install Plan9port on Linux
- Grep to Less that maintain colors
- Simple presentations with Markdown
- Sane defaults for tmux with more visible statusbar
- c Calling assembly functions from C
- Make B/W SVG charts with matplotlib
- Uninstall Ollama from a Linux box
- plan9 Drawing Pixels in Plan9
- Write ISO to USB Key
- Development environments with Nix
- Easy measure time took in a bash script