File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ def add_css(element: bs4.element.Tag):
1919
2020 # hack to edit .sticky-heading's 'top' attribute to 0.
2121 sticky_start = css_content .find ('.sticky-heading' )
22- print (sticky_start , file = sys .stderr )
2322 if sticky_start >= 0 :
2423 match = re .compile (r"top:\s*[^;]+;" ).search (css_content , pos = sticky_start )
2524 css_content = css_content [:match .start ()] + "top: 0;" + css_content [match .end ():]
@@ -45,7 +44,7 @@ def main():
4544 main = html .select ('#root > div > div.container' )[0 ]
4645
4746 # Find the teams list container. See StandingsTable.tsx for the structure.
48- teamsContainer = main .select ('.standard-standings .standings-section' )[- 1 ].find ('div' )
47+ teamsContainer = main .select ('.standard-standings .standings-section' )[- 2 ].find ('div' )
4948
5049 # Each team row has data-key attribute. Extract them and clear the list.
5150 teams = teamsContainer .select ('div[data-key]' )
You can’t perform that action at this time.
0 commit comments