How can i change request timeout to 10 seconds instead of 30 seconds

No description
3 Replies
rival-black
rival-blackOP3y ago
^^
helpful-purple
helpful-purple3y ago
Hi @CTK WARRIOR, you can specify the option navigationTimeoutSecs in the crawler options. For example:
const crawler = new CheerioCrawler({
...
navigationTimeoutSecs: 10,
});
const crawler = new CheerioCrawler({
...
navigationTimeoutSecs: 10,
});
rival-black
rival-blackOP3y ago
oh thanks

Did you find this page helpful?