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
#!/usr/bin/env bash | |
# created by Alex Goretoy | |
# download videos from any peertube site, troo.tube by default | |
# creates a directory named after the domain where to download all videos | |
PEERTUBE_URL="${1:-https://troo.tube}"; | |
DOMAIN_NAME=$(echo "${PEERTUBE_URL}" | awk -F[/:] '{print $4}'); | |
START="${2:-0}"; | |
FINISH="${3:-99999}" |
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
#!/usr/bin/env bash | |
# this program should work only on linux and mac not windows | |
# this program download files from server one at a time instead of many in order to avoid errors due to rate limits | |
# 1. download/install mini client program first called mc | |
# https://min.io/download#/linux | |
# https://min.io/download#/macos | |
# 2. configure the server to download videos from | |
# mc config host add download-troo https://data.troo.tube:443 download 123-Jesus-Christ-Lives-321 | |
# 3. find a directory on the server to download all the videos from website or with mc ls command |
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
#!/usr/bin/env bash | |
# this script downloads instagram posts and ig profile pictures | |
trap kill_it TERM # 15 - Termination signal | |
trap kill_it PIPE # 13 - Broken pipe: write to pipe with no | |
trap kill_it SEGV # 11 - Invalid memory reference | |
trap kill_it KILL # 9 - Kill signal | |
trap kill_it FPE # 8 - Floating point exception | |
trap kill_it ABRT # 6 - Abort signal from abort(3) |
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
#!/usr/bin/env bash | |
# this program should work only on linux and mac not windows | |
# this program download files from server one at a time instead of many in order to avoid errors due to rate limits | |
# 1. download/install mini client program first called mc | |
# https://min.io/download#/linux | |
# https://min.io/download#/macos | |
# 2. configure the server to download videos from | |
# mc config host add download-troo https://data.troo.tube:443 download 123-Jesus-Christ-Lives-321 | |
# 3. find a directory on the server to download all the videos from website or with mc ls command |
OlderNewer