initial commit
This commit is contained in:
Executable
+7
@@ -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
|
||||
Reference in New Issue
Block a user