Skip to main content

Euroleague and Eurocup scrapping

Project description

Euroleague and Eurocup Scrapper

Welcome to newstats.eu Euroleague and Eurocup scrapper!

This is a simple project to help you download basketball data from euroleague and eurocup

You need to have python>=3.6 installed in order to use the library.

Installation and usage

Install it using:

pip install euroleague_scrapping

If you want to download Euroleague data for season 2019-2020 try:

scrapper = Euroscrapper(years=[2019])
scrapper.start()

It will create a data/euroleague folder in your current path. If you prefer a different path to store the data (lets say /tmp/data), try:

scrapper = Euroscrapper(datadir="/tmp/data",years=[2019])
scrapper.start()

If you want to download Eurocup data for season 2019-2020 try:

scrapper = Euroscrapper(league="eurocup",years=[2019])
scrapper.start()

If you want to download Euroleague data for all the seasons try (it will take a while):

scrapper = Euroscrapper()
scrapper.start()

If you want to download Euroleague data for the last 3 seasons try:

scrapper = Euroscrapper(years=[2017,2018,2019])
scrapper.start()

Hopefully you can adopt the calls to fit your needs.

If you enjoyed the library and found it useful give us a shout in Twitter @newstatseu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

euroleague_scrapping-0.0.1.dev21.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page