Skip to content

Instantly share code, notes, and snippets.

@Dakkaron
Dakkaron / amazon_reviews.py
Last active October 19, 2018 09:37 — forked from scrapehero/amazon_reviews.py
Python 3 code to extract amazon reviews
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Written as part of https://www.scrapehero.com/how-to-scrape-amazon-product-reviews-using-python/
from lxml import html
import json
import requests
import json,re
from dateutil import parser as dateparser
from time import sleep
import urllib3