translate scraping README in french #2

Merged
P359 merged 2 commits from python-scraping-fr into main 2024-11-13 11:19:57 +01:00
Showing only changes of commit e13b25bbcd - Show all commits

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.