-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround for cloudflare protected websites #1715
Comments
Hello, Thank you for this very well-explained guide! Is there a possibility to use flaresolverr hosted on Docker? I apologize if this question requires opening a new issue. Thanks again 🙏 |
Sorry, I don't use Docker. |
I tried out using a Docker and it did work in the end. I had to make sure the docker was hosting through the vm into the host machine so the cloudflare bypass could correctly connect to it through localhost. Even though it does work I realised it does take a lot longer per connection and will generally timeout with the default 60s when connecting to the docker instead of the .exe or cmd run python which roughly takes ~20s. |
Not working. C:\DOS\fmd 2.0\lua\websitebypass>python customcloudflare.py "https://dragontea.ink"
|
That's a known issue with flaresolver as mentioned in method 1a. Follow the fork for a working version. |
Hi, I was told to use manual workaround in the pinned issue. So I try everything and also download chromium instead of chrome. However after I put in cookie and user-agent from browser then save, the cookie keep disappearing.
|
Next I try following: Method 1: FlareSolverr (64-bit only)
Edit: Somehow it started downloading again. ^^ |
Cookies and user agent are very tightly tied together. Make sure they're as new as possible from your browser (maybe ctrl + f5 to refresh) and probably try different mainstream browsers if one fails. Chrome, Edge, FireFox, etc. FMD will clear the cookies and user agent if the ones that were there failed to connect which is why you're seeing them being cleared.
Flaresolverr is not getting any requests. Try testing the python script out like in the main post:
It's possible you're missing a python module needed to run the script. If you get any timeouts with Flaresolverr on requests then try out method 1a. |
@NhKPaNdA IT resolved by itself already. Guess Slasar41 did something with the app. |
@Qizmo I'm not doing anything. |
Preparation
{FMD Directory}\lua\websitebypass
and rename it touse_webdriver
with no extenstionMethod 1: FlareSolverr (64-bit only)
requests
withpip install requests
{FMD Directory}\lua\websitebypass
{FMD Directory}\lua\websitebypass\flaresolverr\flaresolverr.exe
flaresolverr.exe
and wait for it to sayServing on http://0.0.0.0:8191
200 OK
responseTo test if everything is working properly, run in CMD or Powershell from your
{FMD Directory}\lua\websitebypass
directory the following command:python customcloudflare.py "https://dragontea.ink"
to see if any errors pop up or notMethod 1a: FlareSolverr Fork (64-bit only)
<> Code
in green button and clickDownload ZIP
. The current working fork is herepython src/flaresolverr.py
Method 2: rookiepy
rookiepy
withpip install rookiepy
Chrome, Edge, Firefox, Opera, Opera GX
Please make sure FlareSolverr is running.
Options -> Websites -> Advanced
and search for your site to see if cookies were applied correctly* Currently has issues decrypting cookies from Chrome and doesn't work. Use an alternative browser until the issue is fixed
To test if everything is working properly, run in CMD or Powershell from your
{FMD Directory}\lua\websitebypass
directory the following command:python cloudflare.py "https://dragontea.ink"
to see if any errors pop up or notManual workaround
For Chromium based browser
F12
-> selectNetwork
tabName
section, select the first one -> seeHeaders
tab and search forcookie
anduser-agent
, copy all of itOptions -> Websites -> Advanced -> {Website Name}
, changeEnabled
option toTrue
, paste thecookie
anduser-agent
from browserThe text was updated successfully, but these errors were encountered: