Last active
July 17, 2019 19:54
-
-
Save kirkins/d161e3dfc6b17bb348ad3c39e223117a to your computer and use it in GitHub Desktop.
Revisions
-
kirkins revised this gist
Jul 17, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ #!/bin/bash printf "https://youtube.com/" URL="https://hooktube.com/random?$((1 + RANDOM % 100000000))" curl $URL -s -L -I -o /dev/null -w '%{url_effective}' \ | cut -d "/" -f 4 -
kirkins created this gist
Jul 17, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ #!/bin/bash printf "https://youtube.com/" curl https://hooktube.com/random -s -L -I -o /dev/null -w '%{url_effective}' \ | cut -d "/" -f 4