Giter Site home page Giter Site logo

opgg-scraper's Introduction

Op.gg Scraper

This is a scraper script built using Selenium to extract information about League of Legends matches from the op.gg website. The script automates the process of gathering data, allowing users to retrieve various details about matches.

Installation

Clone the repository:

git clone [email protected]:stbnlen/opgg-scraper.git

Navigate to the project directory:

cd opgg-scraper

Install the dependencies using pip:

pip install -r requirements.txt

Make sure you have Python and pip installed on your system before proceeding with the installation.

Usage

Enter the necessary information when prompted, such as the summoner name and region.

Run the script:

python app.py

Wait for the script to scrape the data from the op.gg website.

The scraped data will be saved to a file named stats.csv in the project directory.

The script uses Selenium to automate web browsing, so it requires a compatible web driver to be installed and configured. Make sure to download the appropriate web driver for your browser and operating system. The script is currently set up to work with Chrome, but you can modify it to use a different browser by updating the driver configuration.

Contributing

Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the project's GitHub repository.

Disclaimer

This script is intended for educational purposes only. Use it responsibly and adhere to the terms and conditions of the op.gg website. The scraping process should not be abused or used for any malicious activities.

License

The project is licensed under the MIT License. Feel free to modify and distribute the code for your own purposes.

opgg-scraper's People

Contributors

stbnlen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.