Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-02-2017, 07:51 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

tvplayer.com cookie


The same site, 2 different shapes of cookies:



Cookie from LiveHttpHeaders:

Cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdmUudHZwbGF5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiR GF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0ODg0ODA 3MTV9fX1dfQ__; CloudFront-Signature=B2XdJlb28VEHMOMIAB86wDwwVG-x3NRdwi0OtxgBYDNh2B8URlOnjNq4pZITuO0bkUZTLax-tYedonZoo-VtZSxz5NnYDwESkIIzudwYOwMFCWLcIXLgbbuzZOsI8p73b69Z Bme3D5JfjwoaAmSSVyCa4Hx-W3LAJoOzZ6q2d02xRZDzi0cMuk0-UZ8OC8m2ZqV5lr~fd6X8k6Oi8Yy6KbuUz3mjtFcIAkB8gmMAg7 y8rqL2P1wbKsK-Y~B4b7-BV6se2QxUJuy-lqC3Qz-GjZjY9rrlzAJ8Z94hW066e3MyMUhpPd7h-Z5x2qZiMcgHXIHHATTq6dDtzhZCeW3CsQ__; CloudFront-Key-Pair-Id=APKAJGWDVCU5SXAPJELQ; _ga=GA1.2.1881840505.1488458972; _gat=1; __qca=P0-1364565273-1488458973258

{"Statement":[{"Resource":"http://live.tvplayer.com/*","Condition":{"DateLessThan":{"AWS:EpochTime":14 88480715}}}]}



Cookie from curl:

curl -I http://tvplayer.com/watch/bbcnews

Set-Cookie: PHPSESSID=n82ts2ab7aq0fnlhgeghcbv6o5; expires=Fri, 03-Mar-2017 00:55:47 GMT; Max-Age=43200; path=/
Set-Cookie: AWSELB=63316D9B04FDD8FC9F286A83E94C330481D5C56A93F 45B229A54D68996A7E8F19202490056C990242DA6B5409940E 89DC0380
D26E67C6B0715840DDDF0A475E1BADF91A328;PATH=/;MAX-AGE=604800



https://curl.haxx.se/docs/http-cookies.html

Quote:

Cookies with javascript

Since curl and libcurl are plain HTTP clients without any knowledge of or capability to handle javascript,
such cookies will not be detected or used.



How to get cookie like one from LiveHttpHeaders without seeing web browser ?

The goal is for this batch file to work:

ffplay.exe -headers %cookie% -i %url%


I am well aware that this works:

set url=http://tvplayer.com/watch/bbcnews
start /min streamlink -p "ffplay.exe -vf scale=854:480" %url% best
Reply With Quote
 
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:07 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons