Skip to content

Instantly share code, notes, and snippets.

@chinshr
Created August 23, 2017 18:28
Show Gist options
  • Save chinshr/7df452fcfed46822c31a1965050ab828 to your computer and use it in GitHub Desktop.
Save chinshr/7df452fcfed46822c31a1965050ab828 to your computer and use it in GitHub Desktop.
curl -v http://phls-live.cdn.turner.com/cnn/cnnintl/hls/2/stream_Layer4.m3u8?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
@chinshr
Copy link
Author

chinshr commented Aug 23, 2017

returns

*   Trying 23.33.46.17...
* TCP_NODELAY set
* Connected to phls-live.cdn.turner.com (23.33.46.17) port 80 (#0)
> GET /cnn/cnnintl/hls/2/stream_Layer4.m3u8?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c HTTP/1.1
> Host: phls-live.cdn.turner.com
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: ngx_openresty
< Content-Length: 10459
< ETag: "9bc1258913c11a61bf857d6c983192b8"
< Cache-Control: max-age=2
< Expires: Wed, 23 Aug 2017 18:30:31 GMT
< Date: Wed, 23 Aug 2017 18:30:29 GMT
< Connection: keep-alive
< Content-Type: application/x-mpegURL
< 
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:194932
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F974
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:25:23Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182523_00932.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F975
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:25:33Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182533_00933.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F976
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:25:43Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182543_00934.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F977
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:25:53Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182553_00935.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F978
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:26:03Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182603_00936.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F979
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:26:13Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182613_00937.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F97A
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:26:23Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182623_00938.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F97B
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:26:33Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182633_00939.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F97C
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:26:43Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182643_00940.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F97D
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:26:53Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182653_00941.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F97E
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:27:03Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182703_00942.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F97F
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:27:13Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182713_00943.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F980
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:27:23Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182723_00944.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F981
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:27:33Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182733_00945.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F982
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:27:43Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182743_00946.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F983
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:27:53Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182753_00947.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F984
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:28:03Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182803_00948.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F985
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:28:13Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182813_00949.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F986
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:28:23Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182823_00950.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F987
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:28:33Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182833_00951.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F988
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:28:43Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182843_00952.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F989
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:28:53Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182853_00953.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F98A
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:29:03Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182903_00954.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F98B
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:29:13Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182913_00955.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F98C
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:29:23Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182923_00956.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F98D
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:29:33Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182933_00957.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F98E
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:29:43Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182943_00958.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F98F
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:29:53Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T182953_00959.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F990
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:30:03Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T183003_00960.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
#EXT-X-KEY:METHOD=AES-128,URI="https://s.cdn.turner.com/cnn_aes/cnnintl/2/K221194760.key",IV=0x0000000000000000000000000002F991
#EXT-X-PROGRAM-DATE-TIME:2017-08-23T18:30:13Z
#EXTINF:10,
stream_Layer4/00097/stream_Layer4_20170823T183013_00961.ts?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
* Connection #0 to host phls-live.cdn.turner.com left intact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment