Fix links to products.
This commit is contained in:
@@ -38,7 +38,7 @@ class ScrapeWebsite extends Command
|
||||
$progress = new ProgressBar($output);
|
||||
$countries = Country::all();
|
||||
foreach($countries as $country) {
|
||||
$output->writeln('Country name: ' . $country->countryName."\n");
|
||||
$output->writeln('Country name: ' . $country->countryName);
|
||||
$progress->start();
|
||||
$products = $this->getProducts($country);
|
||||
$progress->setMaxSteps(count($products));
|
||||
|
||||
Reference in New Issue
Block a user