diff --git a/twist-dl.sh b/twist-dl.sh new file mode 100755 index 0000000..d3fdbd7 --- /dev/null +++ b/twist-dl.sh @@ -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"