This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from JLpython-py/leaders/InternationalLeaderbo…
…ards Leaders/international leaderboards
- Loading branch information
Showing
4 changed files
with
355 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
FanGraphs/selectors/leaders_sel/international_leaderboards.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#! python3 | ||
# FanGraphs/selectors/leaders_sel/international_leaderboards.py | ||
|
||
selections = { | ||
"stat": [ | ||
".controls-stats > .fgButton:nth-child(1)", | ||
".controls-stats > .fgButton:nth-child(2)" | ||
], | ||
"type": [ | ||
".controls-board-view > .fgButton:nth-child(1)", | ||
".controls-board-view > .fgButton:nth-child(2)" | ||
] | ||
} | ||
dropdowns = { | ||
"position": ".controls-stats:nth-child(1) > div:nth-child(3) > .fg-selection-box__selection", | ||
"min": ".controls-stats:nth-child(1) > div:nth-child(4) > .fg-selection-box__selection", | ||
"single_season": ".controls-stats:nth-child(2) > div:nth-child(1) > .fg-selection-box__selection", | ||
"season1": ".controls-stats:nth-child(2) > div:nth-child(2) > .fg-selection-box__selection", | ||
"season2": ".controls-stats:nth-child(2) > div:nth-child(3) > .fg-selection-box__selection", | ||
"league": ".controls-stats:nth-child(3) > div:nth-child(1) > .fg-selection-box__selection", | ||
"team": ".controls-stats:nth-child(3) > div:nth-child(2) > .fg-selection-box__selection", | ||
} | ||
checkboxes = { | ||
"split_seasons": ".controls-stats > .fg-checkbox" | ||
} | ||
waitfor = ".fg-data-grid.table-type" |
Oops, something went wrong.