https://github.com/djego/ecommerce-peru-scrap-cli
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
https://github.com/djego/ecommerce-peru-scrap-cli
cli data data-science python3 scraping
Last synced: 11 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/djego/ecommerce-peru-scrap-cli
- Owner: djego
- License: mit
- Created: 2020-09-16T06:21:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-24T03:29:08.000Z (over 5 years ago)
- Last Synced: 2025-03-15T11:50:23.155Z (11 months ago)
- Topics: cli, data, data-science, python3, scraping
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://badge.fury.io/py/ecope)
# 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