Skip to content

Instantly share code, notes, and snippets.

@jrjames83
jrjames83 / amazon_review_scraper.py
Created November 27, 2020 19:03
Scrape amazon reviews using python 3, beautifulsoup and pandas.
import requests
import pandas as pd
from bs4 import BeautifulSoup
from datetime import datetime
import logging
headers = {
"authority": "www.amazon.com",
"pragma": "no-cache",
"cache-control": "no-cache",