Skip to content
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

Configuration file is not read apikey etc #9

Open
Ahnafudin opened this issue Mar 16, 2024 · 2 comments
Open

Configuration file is not read apikey etc #9

Ahnafudin opened this issue Mar 16, 2024 · 2 comments

Comments

@Ahnafudin
Copy link

I configured the config.js file on the latest version of CapSolver.Browser.Extension-chrome-v1.11.0 and it doesn't read the apikey on the chrome extension

However, I tried using the CapSolver.Browser.Extension-v.1.7.1 version in the config.json file and it read the apikey on the chrome extension

Maybe the file that connects config.js to the latest file has an error?

@sergio-itru
Copy link

solution is to add newline ='\n' when write to a file. like this with open(path, 'w', encoding='utf-8',newline='\n') as f:

@ducklin404
Copy link

For anyone coming here later, there is already an issue opened here.
Here is my workaround: #5 (comment).
It won't show the API key in the extension, but it will still solve the issue.
Also, the API key to add in my-content-script.js can be find by this:
manualSolving:!1,apiKey:"",appId:""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants