You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need add context manager to store session on one closure/namespace with sharing data between mathods calls
Example
with human_curl as hurl:
r1 = hurl.get("http://google.com")
r2 = hurl.get("http://yandex.com")
or
headers = dict(...)
with human_curl(proxy=("127.0.0.1",8080), headers=headers) as hurl:
# all human_curl arguments give into methods
r1 = hurl.get("http://google.com")
r2 = hurl.get("http://yandex.com")
The text was updated successfully, but these errors were encountered:
Need add context manager to store session on one closure/namespace with sharing data between mathods calls
Example
or
The text was updated successfully, but these errors were encountered: