This commit is contained in:
salam committed 2026-10-05 08:27:18 +02:00
1 parent 6f92f9e1d5
commit 74ff567cce
2 files changed
+11 -10

No files matched your search

+10 -10
View File
@@ -137,25 +137,25 @@ trait GrappingSofascore
* day 1
*/
// $day = Carbon::now()->subDay()->format('Y-m-d');
$day = Carbon::now()->subDay()->format('Y-m-d');
// $this->grap_tournaments_for_day($day);
$this->grap_tournaments_for_day($day);
// foreach ($this->tournaments_requested as $tournament) {
// $this->get_event($day, $tournament);
// }
foreach ($this->tournaments_requested as $tournament) {
$this->get_event($day, $tournament);
}
/**
* day 5
*/
// $day = Carbon::now()->subDays(5)->format('Y-m-d');
$day = Carbon::now()->subDays(5)->format('Y-m-d');
// $this->grap_tournaments_for_day($day);
$this->grap_tournaments_for_day($day);
// foreach ($this->tournaments_requested as $tournament) {
// $this->get_event($day, $tournament);
// }
foreach ($this->tournaments_requested as $tournament) {
$this->get_event($day, $tournament);
}
/**
* to excel day by day
@@ -2,6 +2,7 @@
namespace App\Traits\Sofascore;
use App\Models\Country;
use App\Models\SofaScoreCategory;
use App\Models\SofaScoreDayTournament;
use App\Models\SofaScoreTournament;