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
- Grep to Less that maintain colors
- Edsger W. Dijkstra Manuscripts ebook
- dcss Dungeon Crawl Stone Soup - New player guide
- vim Personal sane Vim defaults
- plan9 Mount Plan9 over network
- Aerial photography of algae spotted on river Sava
- Easy measure time took in a bash script
- Push to multiple origins at once in Git
- plan9 Fix bootloader not being written in Plan9
- plan9 Run 9front in Qemu
- Online radio streaming with MPV from terminal
- plan9 My brand new Plan9/9front desktop
- Using ffmpeg to combine videos side by side
- Uninstall Ollama from a Linux box
- Display xterm color palette