wip STA
This commit is contained in:
1 parent
68a1ec1769
commit
987d096928
8 files changed
+149
-154
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Console\Commands\Grapper\Sofascore;
|
||||
|
||||
use App\Console\Commands\Grapper\Sofascore\Helper\LoadDays;
|
||||
use App\Console\Commands\Grapper\Sofascore;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Utilities\Notice;
|
||||
use App\Utilities\ZipFolder;
|
||||
@@ -13,14 +13,7 @@ class CreateZip
|
||||
{
|
||||
$debug = Nuh::$options['d'] ?? 0;
|
||||
|
||||
$days = LoadDays::load();
|
||||
|
||||
foreach ($days as $d) {
|
||||
|
||||
$day = $d['day'];
|
||||
|
||||
ZipFolder::create($day);
|
||||
}
|
||||
ZipFolder::create(Sofascore::$storage);
|
||||
|
||||
if ($debug) {
|
||||
Notice::note('zips created', 'bb');
|
||||
|
||||
Reference in new issue
Block a user