grapper with flaresolverr in docker
This commit is contained in:
1 parent
911b515021
commit
8325f3a334
6 files changed
+47
-11
No files matched your search
@@ -10,6 +10,7 @@ trait GrapSofascore
|
||||
{
|
||||
use GrapperEvent;
|
||||
use GrappingHelper;
|
||||
use GrappingMail;
|
||||
use GrappingToExcel;
|
||||
|
||||
protected int $debug;
|
||||
@@ -67,6 +68,11 @@ trait GrapSofascore
|
||||
|
||||
$this->import_to_excel($folder);
|
||||
break;
|
||||
case 'mail':
|
||||
$folder = $this->select_folder();
|
||||
|
||||
$this->send($folder);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -123,6 +129,7 @@ trait GrapSofascore
|
||||
'player' => 'Player',
|
||||
'settings' => 'Settings',
|
||||
'excel' => 'Excel',
|
||||
'mail' => 'Send Mail',
|
||||
]
|
||||
);
|
||||
}
|
||||
@@ -133,7 +140,7 @@ trait GrapSofascore
|
||||
protected function select_folder(): string
|
||||
{
|
||||
return select(
|
||||
label: 'What folder should be imported?',
|
||||
label: 'What folder should be used?',
|
||||
scroll: 10,
|
||||
options: [
|
||||
'daily' => 'Daily',
|
||||
|
||||
Reference in new issue
Block a user