diff --git a/pypartpicker/scraper.py b/pypartpicker/scraper.py index 4f3528e..874d1e3 100644 --- a/pypartpicker/scraper.py +++ b/pypartpicker/scraper.py @@ -80,7 +80,8 @@ def parse_part(self, res: Response) -> Part: # Specs specs = {} - for spec in sidebar.find(".group--spec"): + specs_block = sidebar.find(".specs", first=True) + for spec in specs_block.find(".group--spec"): spec_title = spec.find(".group__title", first=True).text spec_value = spec.find(".group__content", first=True).text specs[spec_title] = spec_value