euanwm / OpenWeightlifting

Repository that is deployed for the OpenWeightlifting site
https://www.openweightlifting.org
BSD 3-Clause "New" or "Revised" License
31 stars 21 forks source link

AUS Scraping Tool - No Value #278

Closed euanwm closed 7 months ago

euanwm commented 8 months ago

Describe the bug When saving results to file, the AUS scraping tool fails to add in a 0 value where required.

To Reproduce Steps to reproduce the behavior: Pull event ID 3019 and save to file. Lines 16 and 33 contain lifters who have bombed out on snatches and failed to log a score for C&J

Expected behavior Any non-taken lifts should be recorded as 0.

euanwm commented 8 months ago

@sjdoescoding - Check here https://github.com/euanwm/OpenWeightlifting/blob/development/python_tools/database_handler/web_scrapers.py#L142