structured_scraper/scrape.php
2022-01-08 14:28:07 +01:00

13 lines
239 B
PHP

<?php
require __DIR__.'/vendor/autoload.php';
require __DIR__.'/config.php';
use Scraping\Scraper;
$scraper = new Scraper();
foreach ($filters as $i => $filter) {
$scraper->scrape('GET', $start_url, $filters, $i, $download_dir);
}