New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to read har file with You provider (MissingRequirementsError) in Jupyter Notebook #1913
Comments
You obviously should download the nodriver try to to this: |
I thought it will extract the cookies found in the HAR file and use raw requests so I didn't install the web driver. Also the error itself said add the HAR file or install the "nodriver" package, so I thought I could either supply the HAR which I did or install the package. Nonetheless, I did what you said and after installing the package, I'm now receiving another error:
|
try this code and you can thank me later:
Keep in mind you should be downloaded the nodriver |
Hey Infinitay, I noticed you're using a different event loop in your code. Just a heads up, Nodriver doesn't support that. You might see some warnings from curl_cffi, but don't worry about them. |
Thanks for your help. I tried it but it still didn't work. It turns out the issue was in fact using a different event loop as @hlohaus mentioned. I stopped attempting to use the |
Yo bro i've just got (Cloudflare detected) on onther IP i think i can help you i will give you a link to a specific version of Proton Vpn that might helps you (https://github.com/ProtonVPN/win-app/releases/download/2.4.1/ProtonVPN_win_v2.4.1.exe) |
Hey, to get past that cloudflare detection, you can use curl_cffi. Just install it with "pip install curl_cffi" and you're good to go! |
I did this but i still get this error and i fixed it temporarily with use VPN |
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again. |
Issue
When trying to run the
You
provider, it fails to read my har file and keeps throwingMissingRequirementsError: Add .har file from you.com or install "nodriver" package | pip install -U nodriver
despite placing the respective har file within the current working directory under./har_and_cookies/you.com.har
. I am using gpt4free's module within a jupyter notebook.Code
Environment
Python:
3.12.3
g4f:
0.3.0.7
miniconda:
23.7.4
Stacktrace
The text was updated successfully, but these errors were encountered: