-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RecreatDotGov campsites search returns false positives #343
Comments
Seems like this can be remediated by adding "Closed" to api_config.py camply/camply/config/api_config.py Line 80 in 310fbe6
|
Hey @blamejoel, I can see that you're using Python Details
❯ camply --debug campsites --campground 232447 --start-date 2024-05-01 --end-date 2024-05-31 --equipment trailer 19 --weekends --nights 2
[2024-04-30 15:40:55] CAMPLY camply, the campsite finder ⛺️
[2024-04-30 15:40:55] DEBUG Setting up camply debugging
[2024-04-30 15:40:55] DEBUG Camply Version: 0.32.2
[2024-04-30 15:40:55] DEBUG Python Version: 3.11.8
[2024-04-30 15:40:55] DEBUG Platform: darwin
[2024-04-30 15:40:55] INFO Using Camply Provider: "RecreationDotGov"
[2024-04-30 15:40:55] INFO 8 booking nights selected for search, ranging from 2024-05-03 to 2024-05-25
[2024-04-30 15:40:55] INFO Searching for booking nights on Friday and Saturday
[2024-04-30 15:40:55] INFO Searching for availabilities with 2 consecutive night stays.
[2024-04-30 15:40:55] DEBUG Starting new HTTPS connection (1): ridb.recreation.gov:443
[2024-04-30 15:40:57] DEBUG https://ridb.recreation.gov:443 "GET /api/v1/facilities/232447?full=True HTTP/1.1" 200 11920
[2024-04-30 15:40:57] INFO 1 Matching Campgrounds Found
[2024-04-30 15:40:57] INFO ⛰ Yosemite National Park, CA (#2991) - 🏕 Upper Pines Campground (#232447)
[2024-04-30 15:40:57] INFO Filtering Campsites based on Equipment: trailer
[2024-04-30 15:40:57] INFO Searching across 1 campgrounds
[2024-04-30 15:40:57] DEBUG Starting new HTTPS connection (1): www.recreation.gov:443
[2024-04-30 15:40:57] DEBUG https://www.recreation.gov:443 "GET /api/search/campsites?start=0&size=1000&fq=asset_id%3A232447&include_non_site_specific_campsites=True HTTP/1.1" 200 None
[2024-04-30 15:40:57] INFO Metadata fetched for 237 campsites
[2024-04-30 15:40:57] INFO Searching Upper Pines Campground, Yosemite National Park, CA (232447) for availability: May, 2024
[2024-04-30 15:40:57] DEBUG Starting new HTTPS connection (1): www.recreation.gov:443
[2024-04-30 15:40:57] DEBUG https://www.recreation.gov:443 "GET /api/camps/availability/campground/232447/month?start_date=2024-05-01T00%3A00%3A00.000Z HTTP/1.1" 200 None
[2024-04-30 15:40:57] INFO ❌ 0 total sites found in month of May
[2024-04-30 15:40:57] INFO ❌ ❌ ❌ ❌ 0 Reservable Campsites Matching Search Preferences
[2024-04-30 15:40:57] CAMPLY Exiting camply 👋 |
Describe the bug
When searching for campsite availability, camply returns positive results for the search criteria, however when clicking on the link to recreation.gov for the respective site, the booking calendar shows "closure" for those dates.
Original Camply Command (with
--debug
)Additional context
< Add any other context about the problem here. >
The text was updated successfully, but these errors were encountered: