structured_scraper/scrape.php

13 lines
239 B
PHP
Raw Normal View History

2022-01-06 17:20:40 +01:00
<?php
require __DIR__.'/vendor/autoload.php';
2022-01-08 14:28:07 +01:00
require __DIR__.'/config.php';
2022-01-06 17:20:40 +01:00
use Scraping\Scraper;
$scraper = new Scraper();
foreach ($filters as $i => $filter) {
2022-01-08 14:28:07 +01:00
$scraper->scrape('GET', $start_url, $filters, $i, $download_dir);
2022-01-06 17:20:40 +01:00
}