
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
"shot_point_scraper" is a library for scraping shot positions and their information for one game from Understat.
shot_point_scraper supports csv files, excel files, and sql files as output file formats.
Install shot_point_scraper with pip command.
pip install shotpointscraper
2.In the environment where shot_point_scraper is installed, execute the following command
shotpointscraper
3.You will be asked for your ID, so fill in the ID that you just checked.
4.When scraping is finished, you will be asked what file you want to create, so enter the file you want to create (csv excel,sql).
5.If you select csv or excel, you will be asked for a file name, please enter your file name of choice. (Do not enter the file format, as it will be added automatically.) The file will then be generated.
6.If you choose "sql", you will be asked what format you would like the shoot position information to be in. xy: Describe the chute coordinates using two columns, x and y. point: Write the chute coordinates in one column using commas and parentheses for x and y.
example: xy:
x | y |
---|---|
112.07 | 43.4 |
115.15 | 38.9 |
point:
point |
---|
(112.07,43.4) |
(115,15,38.9) |
7.You will be asked for the name of the file to be generated and the name of the database table to be filled in the sql file. The file will then be generated.
I don't test environments under Linux and Windows.
For the shoot position information, I use the statbomb type.(0<=x<=120,0<=y<=80)
"shot_point_scraper" is under MIT license.
I hope this library will be useful to you. Thank you!
FAQs
A package for scrap shot data from Understats
We found that shotpointscraper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.