Add twist-dl.sh

This commit is contained in:
Alice Gaudon 2020-08-13 11:35:33 +02:00
parent 2b4bbbb289
commit bc726fe81f

13
twist-dl.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
url=$1
curl -g -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0" \
-H "Accept: video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5" \
-H "Accept-Language: en-US,en;q=0.5" \
-H "Range: bytes=0-" \
-H "Connection: keep-alive" \
-H "Referer: https://twist.moe" \
-H "Pragma: no-cache" \
-H "Cache-Control: no-cache" \
"$url"