Commit Graph
16 Commits
Author SHA1 Message Date
NyaMisty efaa5f31b6 Support proxy in request and session cmds (#754) 2023-05-23 21:53:13 +02:00
ngosang 30ccf18e85 Several fixes in Sessions 2023-03-20 17:06:16 +01:00
Martino Mensio c6c74e7c9d Add Fairlane challenge selector (#723) 2023-03-20 16:27:24 +01:00
Artemiy RyabinkovandMichel Roux 49fd1aacfc Sessions with auto-creation on fetch request and TTL (#736)
* Add support for sessions

* Add tests for sessions

* Missing return type

* Don't re-create an existing session

* Return success in case of session doesn't exists on destroy

* Create session if necessary on get request

* Add session TTL to the request.get method

When fetching some webpage with a predefined session id,
FlareSorverr is using existing instance of WebDriver.
That allows user to not manage cookies explicitly
and rely on WebDriver to maintain the session. However,
if session has been created long time ago, CloudFlare might
stop accepting the requests, so we want to recreate the session
time to time. From the user perspective the easiest way of doing it
is to define their expectation on the session duration.

These changes add an option to define Time-to-live (TTL) for the session
and FlareSorverr takes care about rotating the sessions.

* Update message for session destroy in tests

---------

Co-authored-by: Michel Roux <xefir@crystalyx.net>
2023-03-20 16:25:48 +01:00
Martino Mensio f6879c70de Add Fairlane challenge selector (#723) 2023-03-20 16:13:21 +01:00
ngosang 24f59a39cb Print platform information on start up 2023-03-20 15:07:12 +01:00
bilditup1andbilditup1 5fc4f966a5 Update ddos-guard title (#692)
* update ddos-guard title (anidex.info)

* make page_title test case-insensitive

---------

Co-authored-by: bilditup1 <git@github.com>
2023-03-20 15:06:27 +01:00
ilike2burnthingandfurdarius fc6d2d9095 Click on the Cloudflare's 'Verify you are human' button if necessary
Co-authored-by: furdarius <furdarius@users.noreply.github.com>

https://github.com/furdarius/FlareSolverr/commit/69e023b946c46aef3dd5a4a5aff54b201af21b19 minus screenshot function
2023-03-07 03:51:17 +00:00
ngosang c93834e2f0 Check Chrome / Chromium web browser is installed correctly 2023-01-08 20:46:11 +01:00
ngosang e3b4200d94 Detect Cloudflare blocked access 2023-01-08 20:40:10 +01:00
ngosang 2aa1744476 Add more selectors to detect blocked access 2023-01-06 18:12:26 +01:00
ngosang fd42fcee66 Detect challenges by title 2023-01-05 01:45:43 +01:00
ngosang 258225a091 Detect Cloudflare access denied 2023-01-04 22:15:19 +01:00
ngosang 70a423805d Fix selector for new challenge 2023-01-04 21:28:04 +01:00
ngosang b90d263159 Detect Cloudflare Access Denied 2023-01-04 21:04:18 +01:00
ngosang 1505595591 Rewrite FlareSolverr from scratch in Python + Selenium 2023-01-04 21:03:40 +01:00