Requests is module in python which is used to send HTTP request to any website or URL. It will return response which is useful in web scrapping.

Requests.get: Sends a GET request

Syntax:

URL=It can be any website URL.

params=By default it is none or It can be any dictionary like object

requests.get(URL, params=none)
import requests
r=requests.get('ANY URL')
r.status_code
r.content
r.status_code: It will return 200 when GET request is successful else return 404.

when request is successful then we can check response as r.content.

r.content:It will return response as bytes.

By SC