Giter VIP home page Giter VIP logo

mpg_valise_explorer's Introduction

MPG Football Scraper

Python scripts for scraping data from the MPG (Mon Petit Gazon) website.

Table of Contents

Introduction

This Python script is designed to scrape data from the MPG (Mon Petit Gazon) website, allowing you to extract and analyze various statistics related to your fantasy football leagues. It utilizes the requests library for making HTTP requests and BeautifulSoup for parsing HTML. The aim of this project is to provide new metrics for your seasons, so you'll finally know if your opponent has a mirror left, or who was the luckiest last season!

Prerequisites

Before using the script, make sure you have the following installed:

  • Python (version 3.10 or higher)
  • An MPG league

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/mpg-football-scraper.git
cd mpg-football-scraper
  1. Install dependencies:
pip install -r requirements.txt

Configuration

Before running the script, update the config/config_example.json file with your MPG credentials:

-- TO DO --
Add an explanation of each parameter in the json file.

Then rename it config.json.

Make sure to keep your credentials secure and do not share them publicly, even if it already takes me enough time to make my teams so I won't go and make yours if I get your credentials...

Usage

Run the script by executing the following command:

python scraper.py

This will authenticate your account on MPG and retrieve data from the specified league.

Database Architecture

Here is the database architecture :

Database Architecture

License

This project is unlicensed, but don't hesitate to contact me if you have any problems using it :)

mpg_valise_explorer's People

Contributors

mattcln avatar

Watchers

 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.