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

[You.com] Remove temp browser after use #1980

Open
vrashad opened this issue May 19, 2024 · 4 comments
Open

[You.com] Remove temp browser after use #1980

vrashad opened this issue May 19, 2024 · 4 comments
Labels

Comments

@vrashad
Copy link

vrashad commented May 19, 2024

Is it possible to make it so that browsers are deleted after they have completed 5 requests while the code is running and not after stopping?

@hlohaus
Copy link
Collaborator

hlohaus commented May 19, 2024

Hey, I'm not sure if I understand you correctly. But if you don't want to use a browser here, you can create a .har file with the telemetry requests. Once it finds a valid har file, it won't need a browser anymore.

@vrashad
Copy link
Author

vrashad commented May 19, 2024

Hey, I'm not sure if I understand you correctly. But if you don't want to use a browser here, you can create a .har file with the telemetry requests. Once it finds a valid har file, it won't need a browser anymore.

For every 5 requests, a Chrome browser profile is created in the temp folder. If you do not stop the process, the number of these profiles grows and the disk space that these profiles occupy increases. I mean, is it possible to make sure that used profiles are deleted immediately after they are used?

@hlohaus
Copy link
Collaborator

hlohaus commented May 20, 2024

Maybe ask the nodriver package to change somethings

Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added the stale label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants