When sending a GET request with a postman, I see the following cookies.
By doing the same with the python request module, I am not getting this CP cookie.
import requests
with requests.Session() as session:
response = session.post('https://wikipedia.org')
cookies = session.cookies.get_dict()
print(cookies)
Conclusion:
{'WMF-Last-Access-Global': '12-Sep-2017', 'GeoIP': 'XXXXXX', 'WMF-Last-Access': '12-Sep-2017'}
Why is that? Is there a way to get this cookie using python?
source
share