Skip to main content

Ecommerce Perú Scrap CLI is a project open source that extract products data by category and export to csv, json and other structure format files

Project description

PyPI version

Ecommerce Perú Scrap CLI

I'm already tired of the GUIs

Extract a list of products from some e-commerce websites more popular of Perú

Features

  • Scraping ecommerces by product category (Only some categories)
  • Products export data in csv or json

Production

Before you need Python 3.7 or more, then install ecope with pip

pip install ecope

Then you can usage this command ecope CLI :)

Example 1: Export laptops in CSV format

ecope -c laptop -f csv

Example 2: Export celular in JSON format with filename export.json

ecope -c celular -f json -o export

For more info

ecope -h

Development

Local installing

First go to application folder and install (Python3.7 o later) with virtualenv or pipenv

virtualenv env -p python3

Then install dependencies:

pip install -r requirements.txt

For data scraping use CLI more info:

python cli.py -h

Todos

  • Add more ecommerces websites
  • paginate support
  • Support docker
  • Tests

Collaborate

How to collaborate?

  • Let me issues or
  • Add more items in application/ecommerces.json (You can with PR direct)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecope-0.1.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

ecope-0.1.3-py3.7.egg (9.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page