Learn practical skills, build real-world projects, and advance your career

Objective

Extract all the mobile brands along with their models from gadgetsnow

image.png

!pip install scrapy

!pip install selenium

import re
import time
import pdb
import requests
import pandas as pd
from urllib.request import urlopen
from bs4 import BeautifulSoup as soup
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.webdriver import WebDriver
# Location where notebooks and chrome webdriver exists
project_dir = r'C:\Users\bharath.kancharla\Desktop\Notebooks\Web Scrapping\\'