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 available appointments" banning? #9

Closed
karttikeya opened this issue Jan 6, 2023 · 10 comments
Closed

"No available appointments" banning? #9

karttikeya opened this issue Jan 6, 2023 · 10 comments

Comments

@karttikeya
Copy link

Hi,

First, thanks a lot for the repo. It is indeed still working and quite simple to setup/modify.

I am curious what search rate is recommended to use? I often notice that while I have the script running, the website shows "no available appointments" when checked through the browser and I wonder if it is some sort of a DDoS protection mechanism that simply shuts down on rate querying?

@talasalim
Copy link

I'm wondering how you got the mailgun key? Its not on my dashboard and when I go to API keys there is private, public keys but non of them start with key-****

@karttikeya
Copy link
Author

I used the key under the sandbox domain name with "API Key" against it. It does not begin with key-*** in my interface but works fine regardless.

@talasalim
Copy link

Thats weird I don't have that showing for me. It just shows sandbox domain on its own so instead I clicked on API keys and copied the private key from there but its showing me an error.

Another question, sorry to bother you. There is nothing to edit on the config file right? I just made a .env file but had to give it a name cuz it can't be an extension on its own so I'm not sure if that is why its giving me errors?

@karttikeya
Copy link
Author

just .env works fine. I simply followed the instructions in readme, they all work.

@theoomoregbee
Copy link
Owner

theoomoregbee commented Jan 6, 2023

hey @karttikeya for me I used the below config in my .env to pull data:

MAX_NUMBER_OF_POLL=1000
NEXT_SCHEDULE_POLL=10000

@talasalim
Copy link

Hey @theoomoregbee this means that your code runs for less than 3 hours a day right? I had set NEXT_SCHEDULE_POLL=396000 so that is can run all day while maintaining the limit of 250 but now it does now show me any available slots like @karttikeya

@karttikeya
Copy link
Author

@talasalim what is the 250 limit? source?

@talasalim
Copy link

@karttikeya well some websites say you can only check 4 times a day but I assumed 250 because of the default in the config file. I also read online that checking too frequently can get you banned for 72 hours, so I hope that's not the case.. Not sure what's the ideal wait time..

@karttikeya
Copy link
Author

IMO the no available appointments get resolved in about 12 hours. but it does occur again frequently.

curious what other strategies are?

@theoomoregbee
Copy link
Owner

closing this for now, we can revisit if there are other strategies around the appointments availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants