juftin / camply

camply, the campsite finder ⛺️ - a tool to find campsites at sold out campgrounds through sites like recreation.gov
https://juftin.com/camply/
MIT License
464 stars 89 forks source link

"No campgrounds found to search" when using valid campground # #320

Closed De-Brus closed 6 months ago

De-Brus commented 6 months ago

I am getting the "no campgrounds found to search" when using a specific campground ID (232199). I even tried to scrape the rec area to see if the Luby Bay campground would show in the search results, which it did not. Are there some campgrounds that aren't able to be monitored even though they are offered on recreation.gov?

camply campsites \ --rec-area 232199 \ --start-date 2024-08-01 \ --end-date 2024-08-28 \ --continuous \ --notifications pushover \ --notify-first-try --debug

I was expecting to scrape the website in hopes to catch a cancellation within my given window but get this error:

RuntimeError: camply encountered an error and exited 😟 [2024-02-03 15:06:05] - (SearchError) No campgrounds found to search

juftin commented 6 months ago

Hey @De-Brus I believe you're using a --rec-area argument instead of --campground - there isn't a rec area with ID # 232199.

campground # 232199 (Luby Bay) is inside rec-area #1011 (Idaho Panhandle National Forests )

❯ camply campgrounds --search "luby bay"
[2024-02-03 22:56:36] CAMPLY   camply, the campsite finder ⛺️
[2024-02-03 22:56:36] INFO     Using Camply Provider: "RecreationDotGov"
[2024-02-03 22:56:38] INFO     2 Matching Campgrounds Found
[2024-02-03 22:56:38] INFO     β›°  Idaho Panhandle National Forests, ID (#1011) - πŸ•  Luby Bay (#232199)
[2024-02-03 22:56:38] INFO     β›°  Idaho Panhandle National Forests, ID (#1011) - πŸ•  Outlet At Priest Lake (#234740)
[2024-02-03 22:56:38] CAMPLY   Exiting camply πŸ‘‹
camply campsites \
  --campground 232199 \
  --start-date 2024-08-01 \
  --end-date 2024-08-28
De-Brus commented 6 months ago

yes, you're right, thank you!! ok I think I have it working now..

So to do a continuous search with pushover notifications, I would use:

camply campsites \ --campground 232199 \ --start-date 2024-08-01 \ --end-date 2024-08-28 \ --continuous \ --notifications pushover \ --notify-first-try

juftin commented 6 months ago

Yup, you might also want to pass the --search-forever option https://juftin.com/camply/command_line_usage/#continue-looking-after-the-first-match-is-found

De-Brus commented 6 months ago

Yes, thank you for clarifying. I believe I have it running properly now!