Passing data to a router/ handler
I'm trying to pass a username and password to the async function in the default handler, since I'm using the default handler to log in to the website. I've seen different guides use all kinds of input parameters - request, page, enqueueLinks, log, pushData - but these seem to all be specific prebuilt parameters of the module? I'm not sure. so, how could I pass my own data through?
3 Replies
national-gold•2y ago
Use
userData
option.
adverse-sapphireOP•2y ago
thank you so much!!!!
@levav just advanced to level 1! Thanks for your contributions! 🎉