Skip to content
This repository was archived by the owner on Jun 4, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (39 loc) · 1.09 KB

File metadata and controls

57 lines (39 loc) · 1.09 KB

python-amazon-scraper

Navigates to amazon, searches for samsung phones and pulls the title and price data.

Crawl a link on the fly

scrapy shell 'https://quotes.toscrape.com/page/1/'

Installation

Make sure you have Docker Compose installed.

Setup

cp .env.example .env
pip3 install virtualenv && \
  virtualenv env && \
  source env/bin/activate
pip install -r requirements.txt

Usage

alias compose='docker-compose'
compose build
compose up 

Using Linux?

make start # build & run your script
make stop  # stop your docker container

Using Windows?

.\ps\run.ps1 start # build & run your script
.\ps\run.ps1 stop  # stop your docker container

Want to use PhP instead?

PhP Docker Skeleton

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD