eastern-cyan•2y ago
How to use the enqueueLinksByClickingElements function?
I'm trying to grab the link from each card by clicking them (just like you would with enqueueLinks) but with this function it's not working. I don't know what am I doing wrong here.
Right now, the function clicks on the first
p.prod__picture
element, loads its detail page and then the crawler closes.
5 Replies
There is probably some interactivity on the page that prevents further clicking. You would need to share the website
eastern-cyanOP•2y ago
This is the website:
https://domicilios.tiendasd1.com/ca/alimentos-y-despensa/ALIMENTOS%20Y%20DESPENSA
Any help would be much appreciated
rare-sapphire•2y ago
the label here you must mention the request handler label that you want the links handled in
eastern-cyanOP•2y ago
I have settled up this handler:
and this is the result in the console:
@Dylan just advanced to level 1! Thanks for your contributions! 🎉