You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/basic (BasicCrawler)
Issue description
I am trying to scrap the resulting page from a simple form submission (it has no fields actually, an empty body) using a POST request.
I submitted this form using Postman, and it worked perfectly. I tried to run it using the node-fetch library, and it also worked perfectly.
However, when I tried to do the same using BasicCrawler, I got an error page from the website (with HTTP 200 status, but the content says there is an error). I attach the code in the two versions: using fetch and BasicCrawler.
You can compare the length of the two to see the difference. The error page is 13,340 characters long, while the correct page has 849,470 characters.
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/basic (BasicCrawler)
Issue description
I am trying to scrap the resulting page from a simple form submission (it has no fields actually, an empty body) using a POST request.
I submitted this form using Postman, and it worked perfectly. I tried to run it using the
node-fetch
library, and it also worked perfectly.However, when I tried to do the same using
BasicCrawler
, I got an error page from the website (with HTTP 200 status, but the content says there is an error). I attach the code in the two versions: usingfetch
andBasicCrawler
.You can compare the length of the two to see the difference. The error page is 13,340 characters long, while the correct page has 849,470 characters.
Code sample
Package version
3.11.0
Node.js version
v20.15.1
Operating system
Ubuntu 22.04
Apify platform
I have tested this on the
next
releaseNo response
Other context
No response
The text was updated successfully, but these errors were encountered: