Coder Social home page Coder Social logo

smartproxy / python-scrapy-amazon Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 1.0 25 KB

Scrape Amazon product listings utilising scrapy & residential proxies

Python 100.00%
amazon amazon-scraping proxies proxy python python3 residential residential-proxy scrapy

python-scrapy-amazon's Introduction

Python Scrapy Amazon Scraper

Scrape Amazon product listings utilising scrapy & residential proxies

Prerequisites

To get started with Scrapy you will first need to install it using methods provided in their documentation. Check here for more information

Authentication & Proxy setup

Once you have an active subscription you can find your credentials & proxy addresses in Dashboard > Residential > Proxy Setup

Navigate to settings.py in /amazon/amazon/ folder and modify the following lines to authenticate.

SMARTPROXY_USER = 'SPusername' ## Smartproxy Username (Sub-user)
SMARTPROXY_PASSWORD = 'SPpassword' ## Password for your user
SMARTPROXY_ENDPOINT = 'gate.smartproxy.com' ## Endpoint you'd like to use
SMARTPROXY_PORT = '7000' ## Port of the endpoint you are using.

Running the scraper

Navigate to the project folder and run the following command

scrapy crawl amazon_search

Results

Amazon search results will be saved in /amazon/data folder in a .csv format

python-scrapy-amazon's People

Contributors

noahdrucker avatar

Stargazers

 avatar  avatar

Forkers

metrosmash

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.