Peter-Lam / climbr

A utility to log, visualize, and highlight climbing strengths, weaknesses, and trends. Built using Python, ElasticSearch, Kibana, and Docker
https://www.peterqlam.com
MIT License
5 stars 1 forks source link

When session is full, need to parse result properly. #2

Closed Peter-Lam closed 4 years ago

Peter-Lam commented 4 years ago

ValueError: invalid literal for int() with base 10: 'Full. Please make a different selection.' Session info successfully retrieved! See information at '/workspace/data/output/bookings.json'

Also, if it's the last session of the day and it's full, then it will skip to the next day

Peter-Lam commented 4 years ago

<td class=" datepicker-available-day ui-datepicker-today" data-handler="selectDay" data-event="click" data-month="7" data-year="2020"><a class="ui-state-default ui-state-highlight" href="#">5</a></td> should be clicked on by Selenium. Instead of defualt, which sometimes will jump days. Instead of: <td class=" datepicker-available-day" data-handler="selectDay" data-event="click" data-month="7" data-year="2020"><a class="ui-state-default" href="#">6</a></td>

Peter-Lam commented 4 years ago

Fixed