Skip to content
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

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

Closed
De-Brus opened this issue Feb 3, 2024 · 4 comments
Closed

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

De-Brus opened this issue Feb 3, 2024 · 4 comments
Assignees
Labels
bug Something isn't working triage This will looked at

Comments

@De-Brus
Copy link

De-Brus commented Feb 3, 2024

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

@De-Brus De-Brus added the bug Something isn't working label Feb 3, 2024
@github-actions github-actions bot added the triage This will looked at label Feb 3, 2024
@juftin
Copy link
Owner

juftin commented Feb 4, 2024

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
Copy link
Author

De-Brus commented Feb 4, 2024

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
Copy link
Owner

juftin commented Feb 4, 2024

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

@juftin juftin closed this as completed Feb 4, 2024
@De-Brus
Copy link
Author

De-Brus commented Feb 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This will looked at
Projects
None yet
Development

No branches or pull requests

2 participants