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

Add support for explicit proxy configuration #1

Closed
wants to merge 58 commits into from

Conversation

seranpion
Copy link
Owner

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.

nicolaus-hee and others added 30 commits May 25, 2021 20:19
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.
rbignon and others added 28 commits June 11, 2021 08:57
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.
@seranpion seranpion closed this Dec 4, 2021
@seranpion seranpion deleted the proxy_support branch December 4, 2021 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet