Command-line tool to scrape volleyball statistics from Data Project Web Competition websites
Project description
Volley Stats
CLI tool to scrape volleyball statistics from Data Project Web Competition websites (WCM)
This tool is not affiliated with Genius Sports Company
Requirements
- Python 3.8+
Installation
pip install volleystats
Usage
volleystats [--help] --fed FED (--match MATCH | --comp COMP) [--log]
--fed
,-f
: Federation Acronym (required)--match
,-m
: Statistics of a single match (required, unless--comp
is provided)--comp
,-c
: List of matches in a competition (required, unless--match
is provided)--log
,-l
: View the logging during scraping--help
,-h
: Show help
Data Project Web Competition URLs
-
Hostname:
<Fed_Acronym>
-web.dataproject.com -
Pathnames and search parameters:
-
/MainHome
-
/History?ID=
<Fed_ID>
-
/CompetitionHome?ID=
<Category_ID>
(could be Women, Men, Pro or Youth) -
/CompetitionMatches?ID=
<Competition_ID>
-
/MatchStatistics?mID=
<Match_ID>
&ID=<Competition_ID>
-
Federations, Confederations and Leagues Acronym
European Volleyball
fshv
: Albanian Volleyball Federationosbih
: Bosnia and Herzegovina Volleyball Federationbvf
: Bulgarian Volleyball Federationbvl
: Baltic Leaguevbl
: Bundesligahos
: Croatian Volleyball Federationcvf
: Czech Volleyball Federationdvbf
: Danish Volleyball Federationevf
: Estonian Volleyball Federationfbf
: Faroe Islands Volleyball Associationeope
: Hellenic Volleyball Federationhvf
: Hungary Volleyball Federationbli
: Icelandic Volleyball Associationiva
: Israel Volleyball Associationfipav
: Italian Volleyball Federationlvf
: Lithuanian Volleyball Federationmva
: Malta Volleyball Associationnvbf
: Norwegian Volleyball Federationfpv
: Portuguese Volleyball Federationfrv
: Romanian Volleyball Federationossrb
: Serbian Volleyball Federationsvf
: Slovak Volleyball Federationozs
: Slovenian Volleyball Federationrfevb
: Spanish Volleyball Federationsvbf
: Swedish Volleyball Federationswi
: Swiss Volleytvf
: Turkish Volleyball Federationpvlu
: Professional Volleyball League of Ukraine
South American Volleyball
feva
: Argentine Volleyball Federationcbv
: Brazilian Volleyball Confederationfcv
: Cordoba Volleyball Federationfpdv
: Peruvian Volleyball Federation
Available Page Locales
- pt-BR
- en-GB
- cs-CZ
Docs
Development
$ git clone git@github.com:claromes/volleystats.git
$ cd volleystats
$ pip install -r requirements.txt
$ pip install --editable .
License
The package is licensed under the terms of the GNU General Public License v3.0
Author
Claromes (GitHub)
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
Built Distribution
Hashes for volleystats-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24279d45cd460a315bdd4f3a9525ea594fd089ce5706ecea49c453deb7ac0eb7 |
|
MD5 | 830402db80b0e464d50b5a67899eb9ee |
|
BLAKE2b-256 | 3f5bea19517797423f70761b2165c7dd2c210dc510880744f71feebeee3ac980 |