From 536b22e920587f74c925a161e11da8d423218c46 Mon Sep 17 00:00:00 2001 From: chriSmile0 Date: Sun, 23 Jun 2024 19:48:57 +0200 Subject: [PATCH] 1.5.2 --- src/scrapper_auchan.php | 4 ++-- src/scrapper_carrefour.php | 4 ++-- src/scrapper_intermarche.php | 4 ++-- src/scrapper_monoprix.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/scrapper_auchan.php b/src/scrapper_auchan.php index c96b759..fb3a5cf 100644 --- a/src/scrapper_auchan.php +++ b/src/scrapper_auchan.php @@ -49,8 +49,8 @@ use Facebook\WebDriver\Firefox\FirefoxProfile as FirefoxProfile; use Facebook\WebDriver\Remote\ExecuteMethod; -//require __DIR__ . '/../../../autoload.php'; // EXPORT -require __DIR__ . '/../vendor/autoload.php'; // DEV +require __DIR__ . '/../../../autoload.php'; // EXPORT +//require __DIR__ . '/../vendor/autoload.php'; // DEV function extract_brand_a(string $label) : string { diff --git a/src/scrapper_carrefour.php b/src/scrapper_carrefour.php index 0d62bfc..bd38e90 100644 --- a/src/scrapper_carrefour.php +++ b/src/scrapper_carrefour.php @@ -51,8 +51,8 @@ use Facebook\WebDriver\WebDriverExpectedCondition as WebDriverExpectedCondition; use Facebook\WebDriver\Firefox\FirefoxDriver as FirefoxDriver; use Facebook\WebDriver\Firefox\FirefoxProfile as FirefoxProfile; -//require __DIR__ . '/../../../autoload.php'; // EXPORT -require __DIR__ . '/../vendor/autoload.php'; // DEV +require __DIR__ . '/../../../autoload.php'; // EXPORT +//require __DIR__ . '/../vendor/autoload.php'; // DEV function extract_brand_c(string $title) : string { preg_match_all('/[A-Z][A-Z]+/',$title,$matches2); diff --git a/src/scrapper_intermarche.php b/src/scrapper_intermarche.php index 48c79b3..d89e3b9 100644 --- a/src/scrapper_intermarche.php +++ b/src/scrapper_intermarche.php @@ -58,8 +58,8 @@ use Facebook\WebDriver\WebDriverKeys as WebDriverKeys; use Facebook\WebDriver\Firefox\FirefoxDriver as FirefoxDriver; use Facebook\WebDriver\Firefox\FirefoxProfile as FirefoxProfile; -//require __DIR__ . '/../../../autoload.php'; // EXPORT -require __DIR__ . '/../vendor/autoload.php'; // DEV +require __DIR__ . '/../../../autoload.php'; // EXPORT +//require __DIR__ . '/../vendor/autoload.php'; // DEV function change_quantity_i(string $libelle, $kg_price, $price) : string { preg_match_all('!\d+(?:\.\d{1,2})?!', $libelle, $matches); diff --git a/src/scrapper_monoprix.php b/src/scrapper_monoprix.php index 2020476..312f037 100644 --- a/src/scrapper_monoprix.php +++ b/src/scrapper_monoprix.php @@ -45,8 +45,8 @@ use Facebook\WebDriver\Remote\RemoteWebDriver as RemoteWebDriver; use Facebook\WebDriver\Firefox\FirefoxDriver as FirefoxDriver; use Facebook\WebDriver\Firefox\FirefoxProfile as FirefoxProfile; -//require __DIR__ . '/../../../autoload.php'; // EXPORT -require __DIR__ . '/../vendor/autoload.php'; // DEV +require __DIR__ . '/../../../autoload.php'; // EXPORT +//require __DIR__ . '/../vendor/autoload.php'; // DEV function change_quantity_m(string $libelle) : string { $libelle = strtolower($libelle);