https://github.com/osavchenko/scrapper
https://github.com/osavchenko/scrapper
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/osavchenko/scrapper
- Owner: osavchenko
- Created: 2020-06-17T15:15:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-17T15:15:39.000Z (about 6 years ago)
- Last Synced: 2025-02-26T07:15:46.138Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Scrapper
## Installation
Generate and activate python virtual environment:
```sh
python3 -m venv venv
source venv/bin/activate
```
Prepare your `.env` file from `.env.dist`
Update database URL in `alembic.ini` (and make it from `alembic.ini.dist`)
Install dependencies:
```sh
pip3 install -r requirements.txt
```
Migrate database:
```sh
alembic upgrade head
```
## Usage
Run application with
```sh
python main.py -i asins_ids.csv
```
Where `i` argument is your path to the `csv` file with ASIN's (by default it's `asins.csv`)