Closed MrKafr closed 4 years ago
I found the issue https://github.com/codemanki/cloudscraper/issues/319 Iam thinking if this isnt a same problem... maybe the formData parse it with wrong &... Can i somehow console.log raw request data the cloudscraper send?
Hotfixed with just replace each &
to &
in index.js:376
@KostyaChoporov
Hotfixed with just replace each
&
to&
in index.js:376
Can you please give me more information how to fix it?
EDIT: i did some testing and it looks like this onChallenge function is never called in my solution. But the form data is still sending wrongly
EDIT2: Okay, it looks like the website is turning its cloudflare protection on and off every few weeks (my solution with fetch is now working), but cloudscraper should work even if there is no cloudflare protection, right? I would like to solve this problem before the website turn it on again,. Now i can provide working information from fetch and broken ones from cloudscraper at once.
Should be fixed in 4.6.0
. Please update and try again
hello, i am trying to scrap the website where the Cloudflare is inplemented. Before the implementation i called it like this
And this works. Now, after the implementation of Cloudflare i try to use this
but it looks like the itemsId is parsed wrongly and it doesnt work. When i do the console.log of the formdata cloudscraper solution i get this
the webside needs to get data like this. items=%5B%228483450990%22%5D&scrap=557&for_user=0&csrf=csfr
Screen
https://imgur.com/a/KtVaJ5o