banool / recreation-gov-campsite-checker

Scrapes the recreation.gov website to check for campsite availabilities 🏕🏕
Apache License 2.0
324 stars 166 forks source link

This project appears to be broken #26

Closed tsneidin closed 3 years ago

tsneidin commented 3 years ago

2020-11-23 13:23:25,596 - 1710 - DEBUG - Querying for 231927 with these params: {'start_date': '2020-05-01T00:00:00.000Z'} Something went wrong 2020-11-23 13:23:25,918 - 1710 - ERROR - Something went wrong Traceback (most recent call last): File "camping.py", line 257, in code = 0 if main(parks) else 1 File "camping.py", line 158, in main park_id, args.start_date, args.end_date, args.campsite_type File "camping.py", line 89, in get_park_information resp = send_request(url, params) File "camping.py", line 50, in send_request resp.status_code, url, resp.text RuntimeError: ('failedRequest', 'ERROR, 400 code received from https://www.recreation.gov/api/camps/availability/campground/231927/month?: {"error":"Please select a date within the next two years."}\n')

tsneidin commented 3 years ago

Nevermind, user error;^)