#!/bin/bash

DEST="/storage/scratch/youtube"

CHANNELS=""

CHANNELS+=" https://www.youtube.com/channel/UCm9K6rby98W8JigLoZOh6FQ/videos"    # the lockpicking lawyer
CHANNELS+=" https://www.youtube.com/user/DeviantOllam/videos"                   # deviant ollam
CHANNELS+=" https://www.youtube.com/user/Vsauce/videos"                         # vsauce, michael here
CHANNELS+=" https://www.youtube.com/user/featony/videos"                        # this old tony
CHANNELS+=" https://www.youtube.com/channel/UCworsKCR-Sx6R6-BnIjS2MA/videos"    # clickspring
CHANNELS+=" https://www.youtube.com/user/arduinoversusevil/videos"              # AvE
CHANNELS+=" https://www.youtube.com/user/Abom79/videos"                         # Abom79
CHANNELS+=" https://www.youtube.com/user/saunixcomp/videos"                     # NYC CNC

CHANNELS+=" https://www.youtube.com/channel/UCZaDAUF7UEcRXIFvGZu3O9Q/videos" # dirtyUSMLE
CHANNELS+=" https://www.youtube.com/channel/UC-i2EBYXH6-GAglvuDIaufQ/videos" # Speedy Pharmacology
CHANNELS+=" https://www.youtube.com/channel/UC_yjveGdyx6mqqHkHaD-_bg/videos" # Larry Mellick
CHANNELS+=" https://www.youtube.com/channel/UC54htze_JB0zz9H6oAbMOJQ/videos" # Medskl
CHANNELS+=" https://www.youtube.com/channel/UCXAfmcfOeS0rxDz6sp0cYYg/videos" # AANS Neurosurgery
CHANNELS+=" https://www.youtube.com/channel/UC85VW73bQLEjs_taFKP7TwQ/videos" # Nucleus Medical Media
CHANNELS+=" https://www.youtube.com/channel/UC9RM-iSvTu1uPJb8X5yp3EQ/videos" # Wendover
CHANNELS+=" https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA/videos" # Veritasium
CHANNELS+=" https://www.youtube.com/channel/UCsXVk37bltHxD1rDPwtNM8Q/videos" # Kurzgesagt
CHANNELS+=" https://www.youtube.com/channel/UC88tlMjiS7kf8uhPWyBTn_A/videos" # captain joe

for CHANNEL in $CHANNELS; do
    docker run \
        -v $DEST:/output \
        -e DOWNLOAD_URL="$CHANNEL" \
        sneak/youtube-dl
done