fascinating-indigo•3y ago
Is it possible to add request in middle of queue?
Hey, I am trying to use addRequest to add new request in middle but it always add that request in last. I know thats the obvious behaviour of queue but is there a way around?
3 Replies
fascinating-indigoOP•3y ago
rare-sapphire•3y ago
You could use
forefront option of addRequests: https://crawlee.dev/api/basic-crawler/interface/CrawlerAddRequestsOptions#forefrontfascinating-indigoOP•3y ago
ok thanks