Install requests-html library in python
python -m pip install requests-html
Install requests-html library in python
python -m pip install requests-html
Get request using python requests-html module
from requests_html import HTMLSession
session = HTMLSession()
# url to make a get request to
url='https://httpbin.org/get'
get_user ={
"user":'alixaprodev'
}
# making get request
response = session.get(url, data=get_user)
print(f'Status Code:{response.status_code} ')
print(f'Request Type : {response.request}')
## output ##
# Status Code:200
# Request Type : <PreparedRequest [GET]>Copy Again
install requests-html
python -m pip install requests-html==0.10.0
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us