mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-05 18:20:35 -08:00
Update backend_anon_url in har_file.py for correct endpoint Add async context manager for get_nodriver_session in requests module Fix start-browser.sh to remove stale cookie file before launching Chrome
6 lines
No EOL
575 B
Bash
Executable file
6 lines
No EOL
575 B
Bash
Executable file
#!/bin/bash
|
|
while true; do
|
|
sleep 5
|
|
rm ~/.config/g4f/cookies/.nodriver_is_open
|
|
google-chrome --remote-allow-origins=* --no-first-run --no-service-autorun --no-default-browser-check --homepage=about:blank --no-pings --password-store=basic --disable-infobars --disable-breakpad --disable-dev-shm-usage --disable-session-crashed-bubble --disable-search-engine-choice-screen --user-data-dir="~/.config/g4f-nodriver" --disable-session-crashed-bubble --disable-features=IsolateOrigins,site-per-process --remote-debugging-host=127.0.0.1 --remote-debugging-port=57011
|
|
done |