lexiforest / curl_cffi

Python binding for curl-impersonate fork via cffi. A http client that can impersonate browser tls/ja3/http2 fingerprints.
https://curl-cffi.readthedocs.io/
MIT License
2.52k stars 266 forks source link

[BUG] This event loop is already running #254

Closed solo-xwz closed 9 months ago

solo-xwz commented 9 months ago

Describe the bug get error 'This event loop is already running' when using async session and runing it with asyncio.run, but it works normally with version 0.5.10

To Reproduce

# Minimal reproducible code, if possible.
# target websites, and request parameters.

Expected behavior A clear and concise description of what you expected to happen.

Versions

Additional context

perklet commented 9 months ago

Fixed in 0.6.1