In addition to sending cookies with my python requests request I would also like to send a localstorage key value pair.
I tried looking at the requests docs and it does not look like it is capable in doing this, is it?
Is there a way for me to do this without using a headless browser?
Local storage is not sent with requests. It is accessible via javascript through client-side code. This website has more information about the differences between local storage and cookies.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.