pull down to refresh
21 sats \ 4 replies \ @optimism 8h \ parent \ on: I built a website that organizes bitcoin tutorial videos from across youtube bitcoin
Already archiving all of them
Maybe just upload them to https://lightning.video from where you can also embedd the video in any other website.
reply
I'll make a place for people to fetch archived videos in case youtube goes insane, bans accounts and so on. If people want to redistribute, they can do that.
Give me a few days because everything must be streamed now that there's a war between goog and yt-dlp, so it's slow af
reply
reply
fetch.sh:#!/bin/sh
# pass youtube ID as arg
# prevent downloading the same shit twice
mkdir -p vids
if [ -f vids/$1.mp4 ]; then
echo "Skipping $1: already exists.";
exit 0;
fi;
# ALWAYS create new onion circuit
echo -e 'AUTHENTICATE "yourcontrolpass"\r\nsignal NEWNYM\r\nQUIT' | nc 127.0.0.1 9051;
sleep 2;
# if fails, put the vid in the dead letter queue
yt-dlp -t mp4 -o vids/$1.mp4 --proxy socks5h://127.0.0.1:9050 https://youtu.be/$1 || echo $1 >> dlq.txt
edit in your TorControl password.
reply