webrender / campsite-checker

recreation.gov campsite checker
106 stars 48 forks source link

https://www.recreation.gov/ Updated site script needs to be updated #11

Open 000011111111 opened 6 years ago

000011111111 commented 6 years ago

Greetings Webrender,

The rec.gov site was just updated. As is such the script is no longer working.

Perhaps a python expert could update the script to work on the new site.

Thanks for your consideration.

~B

ecwheele commented 5 years ago

I second this request!

kdawgwilk commented 5 years ago

I am willing to help with this with some guidance

DesertRatExpeditions commented 5 years ago

I'll third or fourth this request...

DesertRatExpeditions commented 5 years ago

It think with the addition of ReCAPTCHA to the Recreation.gov site, it will be more difficult to implement this in the future.

000011111111 commented 5 years ago

Well web scraping may be the best option then.

https://www.youtube.com/watch?v=3Sl0TLgyrIg&t=429s

Miles Watkink's has some solid code for this.

https://github.com/mileswwatkins/lookout_hunter

Nonetheless, web automation is the only tool I know of that will work for securing high demand sites. Not all reservation pages have ReCAPCHA though. Maybe focusing on those first would be a good start. ᐧ

On Mon, Mar 18, 2019 at 10:39 AM DesertRatExpeditions < notifications@github.com> wrote:

It think with the addition of ReCAPTCHA to the Recreation.gov site, it will be more difficult to implement this in the future.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/webrender/campsite-checker/issues/11#issuecomment-474024581, or mute the thread https://github.com/notifications/unsubscribe-auth/ALYX3O5U7BqKF76L4E3Pyu3Ubdi1Uporks5vX88zgaJpZM4XDEA_ .

-- Thanks,

Buck Crockett 303.809.1430

kdawgwilk commented 5 years ago

They are not actually using ReCAPTCHA even though they state that they are. It might be implemented later but I was able to successfully access their API with our problems

DesertRatExpeditions commented 5 years ago

I got a ReCAPTCHA on three windows on the 15th. It doesn't actually book the site until you solve it, so by the time you do, it's too late. It doesn't pop up most of the time though. Also, there isn't a way to book through the the API is there? I think the only way to book is through the web interface?

kdawgwilk commented 5 years ago

I created a bot in November last year that was able to add the spots to the cart directly through the api without needing to solve recaptcha but it might have been turned on since then?

000011111111 commented 5 years ago

Kaden,

Can you post the code for your bot on GitHub? ᐧ

On Tue, Mar 19, 2019 at 7:41 AM Kaden Wilkinson notifications@github.com wrote:

I created a bot in November last year that was able to add the spots to the cart directly through the api with needing to solve recaptcha but it might have been turned on since then?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/webrender/campsite-checker/issues/11#issuecomment-474401034, or mute the thread https://github.com/notifications/unsubscribe-auth/ALYX3CxXOH6J6niJmTOiMahzrwVRrRVzks5vYPcVgaJpZM4XDEA_ .

-- Thanks,

Buck Crockett 303.809.1430

DesertRatExpeditions commented 5 years ago

I'm curious if your bot will spark the reCAPTCHA. Can you try it? I'll second Buck's request for the code, but completely understand if you want to hold it close to your vest.

DesertRatExpeditions commented 5 years ago

Kaden, were you using a post to add the site to your cart?

alanjsnider commented 5 years ago

Hi everyone, does anyone have this working?