Answer the question
In order to leave comments, you need to log in
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. Some 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
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 questionAsk a Question
731 491 924 answers to any question