Skip to content

Commit 5801835

Browse files
authored
v4.4.1 (#100)
Resolves #99. BBref added stats tables for quarters, which also had `basic` in the `id` value. ![image](https://user-images.githubusercontent.com/8136030/65930744-abaad580-e3bb-11e9-9484-85a3fbcfb7cc.png) This meant that the number of matching footers was much higher. Instead, I check for `game-basic` `id` values. This probably requires a more robust solution in the future, but this is my strategy for now.
1 parent b3627f7 commit 5801835

File tree

3 files changed

+1826
-247
lines changed

3 files changed

+1826
-247
lines changed

basketball_reference_web_scraper/parsers/box_scores/teams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def parse_team_totals(page):
3535
footers = [
3636
footer
3737
for table in tables
38-
if "basic" in table.attrib["id"]
38+
if "game-basic" in table.attrib["id"]
3939
for footer in table.xpath("tfoot")
4040
]
4141
return [

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="basketball_reference_web_scraper",
8-
version="4.4.0",
8+
version="4.4.1",
99
author="Jae Bradley",
1010
author_email="jae.b.bradley@gmail.com",
1111
license="MIT",

0 commit comments

Comments
 (0)