This project is a web scraping tool built with Python to extract and store League of Legends European Championship (LEC) standings data from the LoL Esports website.
The script automates the process of fetching data from the LEC standings webpage and storing it in a CSV file. It utilizes the BeautifulSoup and Selenium libraries to parse HTML content and interact with the webpage.
- Retrieves team standings including name, placement, wins, and losses.
- Appends data to a CSV file with timestamped entries.
- Python 3.x
- BeautifulSoup
- Selenium
- Chrome WebDriver (for Selenium)
-
Clone the repository:
git clone https://github.com/your_username/lec-standings-scraper.git cd lec-standings-scraper
-
Install dependencies:
pip install -r requirements.txt
-
Download the Chrome WebDriver and place it in your PATH.
- Run the script:
python scrape.py
- The script will launch a Chrome browser, fetch the data from the LEC standings webpage, and store it in a CSV file named data.csv.
name,placement,wins,losses,time
MAD Lions,1,16,2,26-03-2024
G2 Esports,2,15,3,26-03-2024
Fnatic,3,12,6,26-03-2024
...
Contributions are welcome! Please feel free to submit issues or pull requests.
This project is licensed under the MIT License - see the MIT License file for details.
Feel free to customize this template according to your project's specific details and requirements.