Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi, is it possible from the source or the windows zip to use FlareSolverr with an extension (like an adblocker) ?
My question is about using FlareSolverr with no-headless mode because I need to manually pass a captcha. And after this, I got a lot of warmings from my antivirus that I don't get when navigating into Firefox or Chrome with adblock extensions.

You must be logged in to vote

Replies: 1 comment

Comment options

By default, I don't think so, it makes a new profile on each use. My intent is to re-use the profile, by placing options.add_argument=('--user-data-dir=/some/directory') into the Flaresolverr-3.3.17/src/utils.py (where it sets the other options using options.add_argument). This does mean you could only run one copy of Chrome at a time (multiple copies of Chrome cannot share a user profile.)

For my use, I had cookies working for the site I was using; I have an account on there, but login is via Telegram. Then they used cloudflare (the person I wrote this for, they did tell the site owner they are running this bot and they're fine with it... it's very polite and only does a hit every 15 seconds in some points and a hit every 60 seconds at others. The put on Cloudflare for the CDN not the anti-bot functionality.) So I updated to use flaresolverr, cookies continued to work fine. They've changed something more recently (I think on Telegram's end most likely) and using the cookies (from a currently logged in browser) no longer works. So, my plan is to physically log in the browser, make flaresolverr re-use that session, and comment out the cookie-handling code (that will then be redundant) from my program.

But, I imagine this would also work to be able to add one or more extensions to the profile, and have flaresolverr continue to use that profile with the extensions.

Good luck!
--Henry

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.