zlacker

[parent] [thread] 0 comments
1. cmckn+(OP)[view] [source] 2021-10-27 20:51:39
I usually try to avoid working with URLs as bare strings like this, both for readability and correctness (URL encoding is tricky). With ‘requests’ you can do something like pass a dictionary of your query params and it takes care of forming the actual request URL.

https://docs.python-requests.org/en/latest/user/quickstart/#...

[go to top]