https://github.com/leoleman555/web_scraping
A little script for scrape site with python
https://github.com/leoleman555/web_scraping
Last synced: 7 months ago
JSON representation
A little script for scrape site with python
- Host: GitHub
- URL: https://github.com/leoleman555/web_scraping
- Owner: LeoLeman555
- License: mit
- Created: 2024-06-27T20:04:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-30T13:20:19.000Z (over 1 year ago)
- Last Synced: 2025-01-21T19:20:02.452Z (9 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web Scraping Project
## Overview
This project is a simple web scraper that extracts information about countries from the Scrape This Site website.
## Table of Contents
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
- [Contact](#contact)## Prerequisites
This project only requires Python 3.6+
## Installation
To run the project locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/LeoLeman555/Web_Scraping.git
```
2. On this GitHub page, please click on watch
3. Navigate to the project directory:
```bash
cd Web_Scraping
```
4. Install the required dependencies:
```bash
pip install -r requirements.txt
```
5. Run the script:
```bash
python src/main_scraping.py
```## Usage
To run the scraper, simply execute the Python script:
```bash
python main_scraping.py
```The script will prompt you to enter the name of a country. If the country is in the scraped data, it will display information about the country's capital, population, and area. If the country is not in the data, it will display an error message.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
## Contact
For any questions or feedback, feel free to contact me:
- **Léo Leman**: [GitHub Profile](https://github.com/LeoLeman555)