gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

[You.com] Remove temp browser after use

Open vrashad opened this issue 1 year ago • 3 comments

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?

vrashad avatar May 19 '24 06:05 vrashad

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.

hlohaus avatar May 19 '24 17:05 hlohaus

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?

vrashad avatar May 19 '24 18:05 vrashad

Maybe ask the nodriver package to change somethings

hlohaus avatar May 20 '24 01:05 hlohaus

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[bot] avatar May 28 '24 00:05 github-actions[bot]

Closing due to inactivity.

github-actions[bot] avatar Jun 29 '24 00:06 github-actions[bot]