The import requests
Def app_run () :
Url="http://ebooking.fliggy.com/login/callback.htm"
The querystring={" code ":" ",
"State" : "http%3A%2F%2Febooking.fliggy.com % 2 fapc % 2 fmainuv. HTM"}
Headers={
"Host" : "ebooking.fliggy.com",
'the user-agent: "Mozilla/5.0 (Windows NT 10.0; Win64. x64; The rv: 71.0) Gecko/20100101 Firefox/71.0 ",
"Accept", "text/HTML, application/XHTML + XML, application/XML. Q=0.9 */*;
q=0.8,'the Accept - Language: "useful - CN, useful; Q=0.8, useful - TW; Q=0.7, useful - HK; Q=0.5, en - US; Q=0.3, en.
q=0.2,'the Accept - Encoding: "gzip, deflate,"
'Connection' : "keep - the alive,"
"Cookies" : ", "
'the Upgrade - Insecure - Requests: "1",
'cache-control: "no - cache,"
}
The response=requests. Request (" GET ", url, headers=headers, params=the querystring)
For cookie in the response. Cookies:
Print (cookies)
If __name__=="__main__ ':
App_run ()
I copied the postman code, but only on the header of a cookie value
The postman has seven cookie value, why?