FlareSolverr/FlareSolverr

Cookies set to early

Open

#1,652 建立於 2026年1月5日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (4,368 star) (438 fork)batch import
enhancementhelp wanted

描述

Have you checked our README?

  • I have checked the README

Have you followed our Troubleshooting?

  • I have followed your Troubleshooting

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you checked the discussions?

  • I have read the Discussions

Have you ACTUALLY checked all these?

YES

Environment

- FlareSolverr version:3.4.6
- Last working FlareSolverr version:-
- Operating system:Windows
- Are you using Docker: no
- FlareSolverr User-Agent (see log traces or / endpoint):
- Are you using a VPN: no
- Are you using a Proxy: no
- Are you using Captcha Solver: no
- If using captcha solver, which one:
- URL to test this issue:https://www.sos.ks.gov/eforms/BusinessEntity/Search.aspx

Description

The problem is that when making a request this website sends a challenge that undetected chrome driver can solve and it actually solves them but because the cookies are set up to early and it doesnt get them in the response even though the browser has them

Maybe the challenge_res.cookies = driver.get_cookies() should be after the waitInSeconds in the _evil_logic function

Logged Error Messages

2026-01-05 17:10:39 INFO     FlareSolverr 3.4.6
2026-01-05 17:10:39 INFO     Testing web browser installation...
2026-01-05 17:10:39 INFO     Platform: Windows-10-10.0.26200-SP0
2026-01-05 17:10:39 INFO     Chrome / Chromium path: C:\Program Files\Google\Chrome\Application\chrome.exe
2026-01-05 17:10:39 INFO     Chrome / Chromium major version: 143
2026-01-05 17:10:39 INFO     Launching web browser...
2026-01-05 17:10:51 INFO     FlareSolverr User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
2026-01-05 17:10:51 INFO     Test successful!
2026-01-05 17:10:51 INFO     Serving on http://0.0.0.0:8191
2026-01-05 17:10:53 INFO     Incoming request => POST /v1 body: {'cmd': 'sessions.list', 'maxTimeout': 300000}
2026-01-05 17:10:53 INFO     Response in 0.001 s
2026-01-05 17:10:53 INFO     127.0.0.1 POST http://127.0.0.1:8191/v1 200 OK
2026-01-05 17:10:53 INFO     Incoming request => POST /v1 body: {'cmd': 'sessions.create', 'maxTimeout': 300000}
2026-01-05 17:10:56 INFO     Response in 3.059 s
2026-01-05 17:10:56 INFO     127.0.0.1 POST http://127.0.0.1:8191/v1 200 OK
2026-01-05 17:10:56 INFO     Incoming request => POST /v1 body: {'cmd': 'request.get', 'url': 'https://www.sos.ks.gov/eforms/BusinessEntity/Search.aspx', 'maxTimeout': 300000, 'session': 'ba964eb4-ea48-11f0-bfdc-089798f26b14', 'waitInSeconds': 20}
2026-01-05 17:11:01 INFO     Challenge not detected!
2026-01-05 17:11:01 INFO     Waiting 20 seconds before returning the response...
2026-01-05 17:11:21 INFO     Response in 24.22 s
2026-01-05 17:11:21 INFO     127.0.0.1 POST http://127.0.0.1:8191/v1 200 OK

Screenshots

No response

貢獻者指南