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
Python 3.11.4 (main, Jun 20 2023, 17:23:00) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pocsuite3.api import requests
>>> requests.get("http://baidu.com")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/homebrew/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pocsuite3/lib/request/patch/hook_request.py", line 63, in session_request
prep = self.prepare_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/requests/sessions.py", line 486, in prepare_request
p.prepare(
File "/opt/homebrew/lib/python3.11/site-packages/requests/models.py", line 368, in prepare
self.prepare_url(url, params)
File "/opt/homebrew/lib/python3.11/site-packages/requests/models.py", line 434, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pocsuite3/lib/request/patch/hook_urllib3_parse_url.py", line 191, in patched_parse_url
url, path_, delim = split_first(url, ['/', '?', '#'])
^^^^^^^^^^^
NameError: name 'split_first' is not defined
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: