Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

View File

@@ -0,0 +1,27 @@
#!/bin/sh
rm -f ~/.cache/media.ccc.list
curl -s \
-H "CONTENT-TYPE: application/json" \
https://media.ccc.de/public/conferences \
| jq -rc '.[][].url' \
| while read conference
do
echo "+ Scraping ${conference##*/}"
curl -s \
-H "CONTENT-TYPE: application/json" \
"$conference" \
| jq -rc '.events[].url' \
| while read event
do
echo "| Event: ${event##*/}"
curl -s \
-H "CONTENT-TYPE: application/json" \
"$event" \
| jq -rc '.recordings[].recording_url' \
| fgrep '/webm-hd/' \
>> ~/.cache/media.ccc.list
done
done