Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 1 addition & 22 deletions content/manipulation/04a_webscraping_TP.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```

<br>
Expand All @@ -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
Expand Down
Loading