grapper with flaresolverr in docker

This commit is contained in:
salam committed 2026-09-26 18:19:30 +02:00
1 parent 911b515021
commit 8325f3a334
6 files changed
+47 -11

No files matched your search

+2 -1
View File
@@ -20,6 +20,7 @@ trait GrappingToExcel
}
$titel = ucfirst($folder).'_'.Carbon::now()->format('Y-m-d');
$files = $this->get_tree("$this->data_dir/$folder");
$files = array_chunk($this->filter($files), self::$max);
@@ -66,7 +67,7 @@ trait GrappingToExcel
$spreadsheet->setActiveSheetIndex(0);
$writer = IOFactory::createWriter($spreadsheet, 'Xlsx');
$writer->save("$titel-$from-$to.xlsx");
$writer->save("$this->data_dir/$folder/$titel-$from-$to.xlsx");
}
}