16 lines
522 B
Markdown
16 lines
522 B
Markdown
|
# Scraper for Oda.com
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
- PHP 8.1 (cli)
|
||
|
- PHP extension: `php-xml`
|
||
|
- PHP extension: `php-curl`
|
||
|
- [`Composer`](https://getcomposer.org/)
|
||
|
- Other PHP extensions may also be necessary to install. Composer will likely complain when you run `composer install`.
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
- Copy `.env.example` to `.env` and fill in the values as you see fit.
|
||
|
- Run `composer install` to install dependencies.
|
||
|
- Run `php OdaScraper.php` to scrape the products.
|
||
|
- Script something to send the output files to wherever you want?
|