L
L
link_vrb2021-06-19 15:02:20
Python
link_vrb, 2021-06-19 15:02:20

How to get site system settings using python requests?

In the JSON field in Requests in the network section on the panel that opens in the case of Linux by pressing F12, there are keys and their values. 60cdf759d0708290297711.pngSome are set by the client and some are created by the server. I need to get the value of the second type knowing the key using the Requests module of the Python language.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-06-19
@link_vrb

https://docs.python-requests.org/en/master/user/qu...

# import requests module
import requests
  
# Making a get request
response = requests.get('https://api.github.com')
  
# print response
print(response)
  
# print headers of response
print(response.headers)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question