This commit is contained in:
salam committed 2026-07-18 17:23:55 +02:00
1 parent 9e6f7e1c06
commit 88205b7aa1
8 files changed
+133 -168

No files matched your search

+2 -10
View File
@@ -2,10 +2,8 @@
namespace App\Console\Commands\Grapper;
use App\Console\Commands\Grapper\Sofascore\DaysTournament;
use App\Console\Commands\Grapper\Sofascore\Grapper;
use App\Console\Commands\Grapper\Sofascore\Helper\Strings;
use App\Console\Commands\Grapper\Sofascore\Helper\TaskConfig;
use App\Console\Commands\Grapper\Sofascore\PlayerPerSeason;
use App\Console\Commands\Grapper\Sofascore\SendMail;
use App\Console\Commands\Grapper\Sofascore\SettingsToLocal;
@@ -35,20 +33,16 @@ class Sofascore
break;
case 3:
DaysTournament::run();
break;
case 4:
self::setStorage();
Grapper::load();
break;
case 5:
case 4:
self::setStorage();
ZipFolder::create(self::$storage);
break;
case 6:
case 5:
self::setStorage();
SendMail::run();
break;
@@ -63,7 +57,5 @@ class Sofascore
$task = Nuh::$options['task'];
self::$storage = storage_path('sofascore_data') . '/' . Strings::clean(SofaScoreTask::where('id', $task)->value('name'));
dd(self::$storage);
}
}