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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

File details

Details for the file ecope-0.1.3.tar.gz.

File metadata

  • Download URL: ecope-0.1.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.0

File hashes

Hashes for ecope-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9104d9c4f6d980e3b0d56f3ec05f32d59e6a4e1b99da12b59c1e7f9d4bd25006
MD5 c924bc6a35ea88bce8835466148831b3
BLAKE2b-256 022500d19148ad7f07c1ddc5a71c49ab67bb6276dddcba75a8ec45a1c276800e

See more details on using hashes here.

File details

Details for the file ecope-0.1.3-py3.7.egg.

File metadata

  • Download URL: ecope-0.1.3-py3.7.egg
  • Upload date:
  • Size: 9.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.0

File hashes

Hashes for ecope-0.1.3-py3.7.egg
Algorithm Hash digest
SHA256 ad8dcff7856a5a964ef5ea80a87324528a20fb8b65d619771b02c017575e52ff
MD5 52ef3c533de3e4e23121e5e595eb2f7f
BLAKE2b-256 57b9f02e506012aaec9011b2ba87eb88b8b1411ac23371578ab9ca9a56909fa1

See more details on using hashes here.

Supported by

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