Created
November 13, 2013 21:45
-
-
Save leite/7456968 to your computer and use it in GitHub Desktop.
get cookie from sptrans
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 characters
redis-cli -s /tmp/redis.sock set sptransCookie $(curl -sI olhovivo.sptrans.com.br | tr -d '\r' | sed -En 's/^Set-Cookie: ([^;]*).*$/\1/p')>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment