Skip to content
 
 

Latest commit

 

History

131 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview of this side-project just here (https://lucasboucher.fr/ffbb)

Docs

Firstly, run scraper/main.py to refresh data.

Need to run on a web server for JS Fetch API

Example with Python locally:

python3 -m http.server

Config

You can modify the configuration file:

  • ./scraper/config.py For the URL of the championship and pool ID

Technology & Librairies:

  • Python (with JSON)
    • BeautifulSoup
    • requests
  • Vanilla JavaScript
    • Chart.js
  • HTML & CSS :)

Sources

TODO

  • Time update
    • Sorting charts and all fixtures by date or by matchday (with ./team settings button)
    • Sort automatically next matchday fixtures by date
    • Print 6 last and next fixtures by time (with matchday indicator)

Bugs

  • Calendar title when all matchs are played

Improvements

  • Sort an array teams by rank (and not by default) for display ranking
  • New server scheduling system (CRON ?)
  • Beter JS organization (ternary operator, setAttribute(), ...)

Notes

  • re.sub()
  • try: except:
  • css selectors

About

Affichage des résultats FFBB (Fédération Française de Basket-Ball) pour les championnats sélectionnés

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages