Skip to content

Commit

Permalink
1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chriSmile0 committed Jun 23, 2024
1 parent 3f8f56e commit 536b22e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/scrapper_auchan.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/scrapper_carrefour.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/scrapper_intermarche.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/scrapper_monoprix.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 536b22e

Please sign in to comment.