forked from rbignon/doctoshotgun
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for explicit proxy configuration #1
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ajout d une option pour selectionner le vaccin Pfizer (moins de 18 ans) Co-authored-by: Yann Brelière <[email protected]>
…g for more than 1 day (rbignon#38) * give ability to extend time window * time window wording in code * Update README.md Co-authored-by: Romain Bignon <[email protected]> Co-authored-by: Yann Brelière <[email protected]>
In France it is now possible to book for a vaccine without any limit of time.
Now the script looks for a slot in the next seven days by default.
Adding Janssen vaccine option Adjusting test cases and readme Retry after 5s in case of failure in connection In case on many vaccine types, try all of the motives instead of only one.
Leaving out deprecated example image on Readme
Adding country as first positional argument Aligning readme
Dealing with different slot response formats Missing dependencies to make playsound play sound
Updating readme with python3 mentioned explicitely.
That is needed e.g. for asking for the password or the 2fa code.
credits go to the respective contributors @RomainL972 - Allow search second/third dose only rbignon#60 @edwillys - Log with timestamp before looping over centers rbignon#67 @strombringer - add an option to exclude a list of centers from the search results rbignon#72 @gitolicious - add try_to_book happy path test with mock responses rbignon#73 @gitolicious - skip second shot motives rbignon#78 @namnhatpham1995 - Add AstraZeneca choice rbignon#79 @Dreiundzwanzig - Add options for AstraZeneca plus second and third shot rbignon#81 @gitolicious - Add option to include neighbor cities rbignon#85 @gitolicious - Add 2FA code argument for non-interactive environments rbignon#86 @gitolicious - Add option to include and exclude centers by regular expression rbignon#91 @laucia - Relax city name filtering for centers rbignon#94
Note: this does not necessarily mean that the load_state and dump_state methods will work on DoctolibDE. The dump_state method in MockDoctolibDE does nothing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As others, I have ran into (temporary? Several hours so far) blacklisting of my IP (cf. here).
The use of a proxy helped work around that blocking.
But on windows, the corresponding environment variables have no effect.
So here is a new
--proxy PROXY
parameter to explicitely define a proxy for the HTTPS protocole.Note that the use of some proxy schemes (e.g. "socks5://") require additional package (e.g. "PySocks"). I don't know if that's worth mentioning in the doc though. It is reported at runtime on the output.