From 2b591ad8cfe7c5ec0e8d9e2e1c07e38f2f80f7bd Mon Sep 17 00:00:00 2001 From: salam Date: Tue, 4 Aug 2026 09:17:55 +0200 Subject: [PATCH] wip --- .../Commands/Grapper/Sofascore/MakeExcel.php | 8 +++---- grapper.sh | 22 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/Console/Commands/Grapper/Sofascore/MakeExcel.php b/app/Console/Commands/Grapper/Sofascore/MakeExcel.php index 11db3061..0a57ef51 100644 --- a/app/Console/Commands/Grapper/Sofascore/MakeExcel.php +++ b/app/Console/Commands/Grapper/Sofascore/MakeExcel.php @@ -2,12 +2,12 @@ namespace App\Console\Commands\Grapper\Sofascore; -use App\Console\Commands\Grapper\Sofascore; -use App\Console\Commands\Grapper\Sofascore\Helper\ZipFolder; -use App\Console\Commands\Nuh; use App\Utilities\Notice; +use App\Console\Commands\Nuh; use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Spreadsheet; +use App\Console\Commands\Grapper\Sofascore; +use App\Console\Commands\Grapper\Sofascore\Helper\ZipFolder; class MakeExcel { @@ -48,7 +48,7 @@ class MakeExcel $row = 0; foreach ($arr as $val) { $row++; - $activeWorksheet->setCellValue([$column, $row], trim($val)); + $activeWorksheet->setCellValue([$column, $row], $val); } $column++; } diff --git a/grapper.sh b/grapper.sh index 4ce67f7b..42ccbe30 100755 --- a/grapper.sh +++ b/grapper.sh @@ -10,22 +10,22 @@ case "$1" in echo "\n--------------------------" echo "5 sec to stop" echo "--------------------------" - # sleep 5 + sleep 5 - # echo "\n⚽ close all vpn" - # killall ssh + echo "\n⚽ close all vpn" + killall ssh - # echo "\n⚽ open vpn" - # ssh -f -N -L 13306:127.0.0.1:3306 -p 58371 root@162.55.242.190 + echo "\n⚽ open vpn" + ssh -f -N -L 13306:127.0.0.1:3306 -p 58371 root@162.55.242.190 - # echo "\n⚽ Settings To Local" - # php artisan nuh --d --f 67 --fun=2 --task=0 + echo "\n⚽ Settings To Local" + php artisan nuh --d --f 67 --fun=2 --task=0 - # echo "\n⚽ close vpn" - # killall ssh + echo "\n⚽ close vpn" + killall ssh - # echo "\n⚽ Grapper" - # php artisan nuh --d --f --ff 67 --fun=3 --task=1 + echo "\n⚽ Grapper" + php artisan nuh --d --f --ff 67 --fun=3 --task=1 # echo "\n⚽ Create Zip" # php artisan nuh --d --f 67 --fun=4 --task=1