Skip to content

Instantly share code, notes, and snippets.

@Marwe
Last active March 28, 2022 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marwe/d0a896544e28e115fa1c033330459872 to your computer and use it in GitHub Desktop.
Save Marwe/d0a896544e28e115fa1c033330459872 to your computer and use it in GitHub Desktop.
digicrop 2022 download all pages and videos
#! /bin/bash
wget -r -nc -k https://digicrop.de/
for i in digicrop.de/*/index.html
do pushd $(dirname $i)
if [ -z "$(ls *.mkv *.webm)" ]
then
grep -o 'https://www.youtube.com/embed/[^\?]*' *.html| xargs youtube-dl
detox *
fi
popd
done
find digicrop.de/ -name '*.mkv' -o -name '*.webm'> digicrop2022-playlist.m3u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment