siplify grapper ask for speed

This commit is contained in:
salam committed 2026-10-13 08:06:07 +02:00
1 parent 8ec2203918
commit d221ff6eac
36 files changed
+111 -18439

No files matched your search

+3 -3
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');
@@ -59,9 +59,9 @@ trait GrappingTournaments
while ($page) {
// $data = $this->curl($url);
$this->sleep();
$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;