verbal-limeV
Apify & Crawlee3y ago
6 replies
verbal-lime

Difference between enqueueLinks and crawler.addRequests

Hey folks, I have a list of urls like
["https//google.com"]
etc, and when I call
enqueueLinks({urls, label:'DETAIL'})
, none of the links are enqueued and the crawler stops right there, but if I do
crawler.addRequests(filteredLinks.map(link=>({url:link, label:DETAIL}))) 

the links are added as expected and the crawler works fine, I just wanted what's the difference between the two and why enqueueLinks was not working here? crawlee ver is
3.7.0
Was this page helpful?