translate scraping README in french

This commit is contained in:
Mara Karagianni
2024-10-31 19:48:56 +01:00
parent ad3a364347
commit e13b25bbcd

View File

@@ -1,12 +1,16 @@
## A script that scrapes images from a given URL
we need to use the requests and BeautifulSoup libraries to retrieve and parse the HTML content. `os` and `shutil` are helpful for managing files and saving the images. Scraping should be done ethically, following the website's robots.txt rules and terms of service.
## Un script qui extrait des images depuis une URL donnée
Nous devons installer:
```
pip install requests beautifulsoup4 tldextract
```
Run the script with:
Exécutez le script avec :
```
python cyberfeminist_images.py
python get_images.py https://www.freepik.com/images
```
Remplacez lURL par le lien que vous souhaitez extraire.
**Remarque:** Le scraping doit être effectué de manière éthique, en respectant les règles du fichier robots.txt et les conditions d'utilisation du site.