This commit is contained in:
salam committed 2026-10-16 22:47:24 +02:00
1 parent d2733e16bc
commit 5ac22d5e18
2 files changed
+6 -2

No files matched your search

@@ -250,11 +250,15 @@ trait GrappingSofascore
switch ($restart) {
case 'restart':
$this->restart = 1;
SofaScoreTaskDay::where('grapper_id', (int) $this->task_id)->delete();
break;
case 'clear':
if ($this->confirm_delete() == 'Yes') {
$this->restart = 1;
$this->clear_folder($folder, 'all');
SofaScoreTaskDay::where('grapper_id', (int) $this->task_id)->delete();
}
break;
}
+2 -2
View File
@@ -21,7 +21,7 @@ trait GrappingTournaments
$sport_id = 1;
if ($this->debug) {
Notice::note('⚽ tournaments for day ' . $day);
Notice::note('⚽ tournaments for day '.$day);
Notice::note('⚽ close all vpn');
}
exec('killall ssh');
@@ -61,7 +61,7 @@ trait GrappingTournaments
$this->grapper_sleep();
$url = $this->base_url . "api/v1/sport/$slug/scheduled-tournaments/$day/page/$page";
$url = $this->base_url."api/v1/sport/$slug/scheduled-tournaments/$day/page/$page";
$cloudflareService = new CloudflareSolverService;