Learn practical skills, build real-world projects, and advance your career
import requests
from bs4 import BeautifulSoup #beautiful soup is used to parse the data into structure format,so we are using bs4 by importing beautiful soup

header gives the user agent details regarding the information about search engine

header={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'}
cookie={} ## we use cookies because python requests donot allow us to scrap the reviews until unless we set cookies and header.