Created
December 10, 2013 07:14
-
-
Save freshteapot/7886835 to your computer and use it in GitHub Desktop.
Sample curl on how to grab xml from netflix. Why?
Because I want to read the translation.
This file contains 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
curl 'http://so1.akam.nflximg.com/soa2/393/247283393.dfxp?v=1&e=1386475130&t=vNqnSQmaoj4d19LaUQzEJVa_VhM&random=918284700' -H 'Pragma: no-cache' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Host: so1.akam.nflximg.com' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36' -H 'Accept: */*' -H 'Referer: http://movies.netflix.com/WiPlayer?movieid=70128675&trkid=13462100&t=The%2BAmerican&tctx=-99%2C-99%2C6e92be96-1318-4100-912e-a651f7a2b7d2-1567203' -H 'Connection: keep-alive' -H 'Cache-Control: no-cache' --compressed > the.american.70128675.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment