Created
December 3, 2017 23:00
-
-
Save dsprenkels/a4479b94e7e4071abc853766c28d5fc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fetch_list() { | |
mkdir -p "$1" | |
youtube-dl -f 137+141/137+251/best -o "$1/%(title)s.%(ext)s" "$2" | |
} | |
fetch_list "Anatomy & Physiology" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtOAKed_MxxWBNaPno5h3Zs8" | |
fetch_list "Astronomy" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtPAJr1ysd5yGIyiSFuh0mIL" | |
fetch_list "Big History" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtMczXZUmjb3mZSU1Roxnrey" | |
fetch_list "Biology" "https://www.youtube.com/playlist?list=PL3EED4C1D684D3ADF" | |
fetch_list "Chemistry" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtPHzzYuWy6fYEaX9mQQ8oGr" | |
fetch_list "Ecology" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtNdTKZkV_GiIYXpV9w4WxbX" | |
fetch_list "Economics" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtPNZwz5_o_5uirJ8gQXnhEO" | |
fetch_list "Games" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtPTrc_yg73RghJEOdobAplG" | |
fetch_list "Government" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtOfse2ncvffeelTrqvhrz8H" | |
fetch_list "Intellectual Property" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtMwV2btpcij8S3YohW9gUGN" | |
fetch_list "Literature" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtOeEc9ME62zTfqc0h6Pe8vb" | |
fetch_list "Philosophy" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtNgK6MZucdYldNkMybYIHKR" | |
fetch_list "Physics" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtN0ge7yDk_UA0ldZJdhwkoV" | |
fetch_list "Psychology" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtOPRKzVLY0jJY-uHOH9KVU6" | |
fetch_list "US History" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtMwmepBjTSG593eG7ObzO7s" | |
fetch_list "World History" "https://www.youtube.com/playlist?list=PLBDA2E52FB1EF80C9" | |
fetch_list "World History 2" "https://www.youtube.com/playlist?list=PL8dPuuaLjXtNjasccl-WajpONGX3zoY4M" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment