initial commit

This commit is contained in:
hollorol
2024-07-31 23:12:49 +02:00
commit f56ffe480d
17 changed files with 279 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
while read LINK; do
DOCNAME=$(curl -s "$LINK" | grep -oP "'title': '.*?'" | sed -E "s/'title': '(.*)'/\1/")
DOCID=$(echo "$LINK" | sed -E 's/.*d\/(.*)\/view.*/\1/')
echo "wget -O $DOCNAME \"https://drive.usercontent.google.com/download?id=$DOCID""&confirm=t\""
done