Skip to content

Conversation

@alzamer2
Copy link

@alzamer2 alzamer2 commented Dec 2, 2025

websitebypass has not beed update to 5 years, i cleaned it, update it and optimized it hope it will work out for every one who need it

websitebypass has not beed update to 5 years, i cleaned it, update it and optimized it
hope it will work out for every one who need it
@Slasar41
Copy link
Collaborator

Slasar41 commented Dec 2, 2025

There's no issue with the current implementation.
With your changes, there's two GET before incoming request now.
image
Also doesn't work for https://ero18x.com/manga/elusive-touch-raw/ on my end.

@alzamer2
Copy link
Author

alzamer2 commented Dec 3, 2025

these 2 get is testing to make sure that server is working
the first get is in cloudflare.lua to test if server is up and is running, rather than checking if flaresolver.exe exist
the second get is in cloudflare.py its testing
i will check with your link

@alzamer2
Copy link
Author

alzamer2 commented Dec 4, 2025

i checked https://ero18x.com/manga/elusive-touch-raw/
that site need human action to pass (for me it was simple check box)

@Slasar41
Copy link
Collaborator

Slasar41 commented Dec 4, 2025

Thanks for the explanation.
Have you test rookiepy?
Last time I tried, it needed another dependency, so I didn't check any further.

@Slasar41
Copy link
Collaborator

Slasar41 commented Dec 4, 2025

Could you clean up the code?
Use 1 Tab instead of 4 spaces.
Change line local _m = {} to local _m = {} and similar lines like the previous ones.

@alzamer2
Copy link
Author

alzamer2 commented Dec 4, 2025

about rookiepy its nice python library , but i dont think its that much of use with cloudflare, as this library read that browser database and extract cookies from it, but some browser like chrome, keep sites data (cookies included) in memory and save them to user folder upon closing browser, and you know how short life cloudflare cookies.
i will clean the code, and add full explanation about changes too

@alzamer2
Copy link
Author

alzamer2 commented Dec 5, 2025

Use 1 Tab instead of 4 spaces.

about 4spaces i'm used more for python coding, where to 4 spaces for indent rather than tab

about this part
` local rooturl = url:match('(https?://[^/]+)') or url

local result			= nil
local cookies_result	= nil

local _status			= 1

local parsed_result	  	= {}`

should i keep it this way or change it to
` local rooturl = url:match('(https?://[^/]+)') or url

local result	= nil
local cookies_result	= nil

local _status	= 1

local parsed_result	= {}`

i will use your answer to edit the rest of the code

@Slasar41
Copy link
Collaborator

Slasar41 commented Dec 5, 2025

The thing about rookiepy it's now require additional dependency when installing it which will take more spaces and I don't think it's still working as the library hasn't been updated since last year.
I think it's fine if we remove rookiepy.

If the styles are consistent, then it's fine either way.
However, your code has mixed styles.
Also please remove the unnecessary indent too.

Perekaman.Layar.2025-12-05.132324.mp4

Use one space for those like the original:

local rooturl = url:match('(https?://[^/]+)') or url
local result = nil
local cookies_result = nil

local _status = 1

local parsed_result = {}

1. Remove rookiepy as its don't help with cloudflare.
2. Use session in flaresolverr to, that minimize requests and save cookies.
3. Kill flaresolverr sessions every 60 min.
4. Change flaresolverr checking method, to check if flaresolverr server is up rather than checking if flaresolverr.exe exites.
5. Add --debug option to cloudflare.py, this option will save png for solved site page.
6. Add --testing option to cloudflare.py, this option will test the flaresoverr cookies before sending FMD(cloudflare.lua will send --testing by default).
7. cloudflare.py result will show up in log
@alzamer2
Copy link
Author

alzamer2 commented Dec 6, 2025

about https://ero18x.com/manga/elusive-touch-raw/
i don't know how to fix it
i added --testing option to check this url, cloudflare.py test url using requests with flaresolverrr cookies and user agent and its return 200, but FMD still did not work, maybe there is problem with its lua

@Slasar41
Copy link
Collaborator

Slasar41 commented Dec 7, 2025

Now it doesn't work for everything. https://dragontea.ink/novel/attracting-ghost/

Perekaman.Layar.2025-12-08.010236.mp4

@alzamer2
Copy link
Author

alzamer2 commented Dec 7, 2025

are you sure you are using my lastest changed files?
there should be line that print flaresolver result like
20:11:59:897 {'flaresolver_status_code': 200, 'flaresolver_result': '{"_ga_NLEB3WD3DT": "GS2.1.s1765127498$o1$g1$t1765127517$j41$l0$h0", "monetixads-user-session": "2501006464537361420005373651360080024", "cf_clearance": "fApt9G99rcDBVhd4m7iWTyPeYBiKHjIfuaiqk8AOigA-1765127497-1.2.1.1-QXODDRklz4gLPHjcKV9lOsO.as4xHAzzxvu8d6K9n7QekfNJlYiR2Z9wDMFAsDzGp5P_4ISr01sRp4DnzHreFSAQR1ffbrY_7VCUR9uJm9NfxtDOu7R3oWJ.suY9glQ2Ef1C3cud6Q_TeSw7v7yZTsAXO5yuqZhWOOmSeyGa1QDxKN.RndGLom4fug5LnIGXx98_6npJ7bnWE0LMx4OODOelQlsBE.ZE110dg39QhRs", "_sharedID_cst": "zix7LPQsHA%3D%3D", "_sharedID": "91d71961-9215-4cdc-9723-e7b9b7abb597", "prefetchAd_9681410": "true", "_ga": "GA1.1.559456202.1765127499", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"}'}

or like
22:19:29:581 {'flaresolver_status_code': 403, 'flaresolver_result': 'FlareSolverr did return cookies for https://dragontea.ink, but it failed while testing it'}

@Slasar41
Copy link
Collaborator

Slasar41 commented Dec 8, 2025

Yeah I forgot to refresh the git but it still give the same result with the latest changes.
I do got {'flaresolver_status_code': 403, 'flaresolver_result': 'FlareSolverr did return cookies for https://dragontea.ink, but it failed while testing it'} in the log.
If I revert to the current code it immediatelly works fine.
A short video: https://youtu.be/dc39Fsdgcyk
The complete log:
fmd.log
cloudflare.log

@alzamer2
Copy link
Author

alzamer2 commented Dec 8, 2025

can you you check website setting for Dragon Tea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants