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
In [1]: import human_curl
In [2]: human_curl.get_version()
Out[2]: '0.1.8'
In [3]: import logging
In [4]: logger = logging.getLogger("human_curl")
In [5]: logger.setLevel(logging.DEBUG)
In [6]: handler = logging.StreamHandler()
In [7]: formatter = logging.Formatter("%(levelname)s %(asctime)s %(module)s [%(lineno)d] %(process)d %(thread)d | %(message)s ")
In [8]: logger.addHandler(handler)
In [9]: human_curl.get("http://github.com/?x", debug=True)
Open url: http://github.com/
Set timeout: 15
Setup user agent Mozilla/5.0 (compatible; human_curl; 0.1.8; +http://h.wrttn.me/human_curl)
Use method GET for request
Hostname was NOT found in DNS cache
Trying 192.30.252.130...
Connected to github.com (192.30.252.130) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: Mozilla/5.0 (compatible; human_curl; 0.1.8; +http://h.wrttn.me/human_curl)
> Host: github.com
> Accept: */*
...
The problem is that we lost get parameter "x"
The text was updated successfully, but these errors were encountered:
The problem is that we lost get parameter "x"
The text was updated successfully, but these errors were encountered: