A
A
allias1732019-04-23 18:33:00
Python
allias173, 2019-04-23 18:33:00

How to get data from site storage?

There are such session variables in the storage tab. How can they be recognized using python without going to this tab every time?
5cbf2f352d67d420198116.png
Tried to watch response cookies like this:


import requests
cl = requests.session()
cl.get('site')
print(cl.cookies.get_dict())

I tried to check different pages of the site in this way, but none of them gave out the session variables I needed.
How else can you find them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-04-24
@Survtur

If something only works in the browser, then you need to use Selenium Webdriver

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question