Ajoute le parser Ouest-France (#13)

Fix #11

Co-authored-by: Clement <clement@desmidt.fr>
Reviewed-on: #13
This commit is contained in:
2020-07-27 12:52:46 +02:00
parent e4ed8ec9f2
commit fdcc1de825
3 changed files with 50 additions and 7 deletions

View File

@@ -2,9 +2,7 @@
namespace App;
use App\Parser\LBC;
use App\Parser\Pap;
use App\Parser\SeLoger;
use GuzzleHttp\Client;
use Illuminate\Support\Facades\Config;
abstract class Parser
@@ -15,7 +13,7 @@ abstract class Parser
protected function __construct($url)
{
$this->url = $url;
$this->client = new \GuzzleHttp\Client([
$this->client = new Client([
'timeout' => 60,
'verify' => false,
'headers' => [