diff --git a/content/manipulation/04a_webscraping_TP.qmd b/content/manipulation/04a_webscraping_TP.qmd index 7bce6c6f64..683d75d99d 100644 --- a/content/manipulation/04a_webscraping_TP.qmd +++ b/content/manipulation/04a_webscraping_TP.qmd @@ -1393,7 +1393,7 @@ run the following commands: !pip install chromedriver-autoinstaller selenium import chromedriver_autoinstaller -chromedriver_autoinstaller.install() +path_to_web_driver = chromedriver_autoinstaller.install() ```
@@ -1417,27 +1417,6 @@ For example, from a ::: -::: {.content-visible when-profile="fr"} -Après avoir installé `Chromium`, -il est nécessaire d'indiquer à `Python` où -le trouver. Si vous êtes sur `Linux` et que vous -avez suivi les consignes précédentes, vous pouvez faire : -::: - -::: {.content-visible when-profile="en"} -After installing `Chromium`, -you need to tell `Python` where to find it. If you are on `Linux` and have followed the previous instructions, you can do the following: -::: - -```{python} -#| output: false -#| echo: true -import selenium -from webdriver_manager.chrome import ChromeDriverManager - -path_to_web_driver = ChromeDriverManager().install() -``` - ::: {.content-visible when-profile="fr"} En premier lieu, il convient d'initialiser le comportement de `Selenium` en répliquant les paramètres