Last active
March 28, 2022 08:17
-
-
Save Marwe/d0a896544e28e115fa1c033330459872 to your computer and use it in GitHub Desktop.
digicrop 2022 download all pages and videos
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/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