Louis Deconinck
Louis Deconinck12mo ago

I want to fetch some JSON with an

I want to fetch some JSON with an HttpCrawler and then from the JSON fetch a url with CheerioCrawler. How to combine these two?
3 Replies
HonzaS
HonzaS12mo ago
What is the point? Just use only the cheerio
Louis Deconinck
Louis DeconinckOP12mo ago
Let's say that for each result, I need to scrape 3 pages. Each time base, /about & /contact. How would you go about that? Nest crawlers inside each other or enqueue the links and keep track of intermediary results in KV storage or something else?
HonzaS
HonzaS12mo ago
one crawler, keep track of already scraped in userData of the request meaning first enqueue base, then in base handled enqueue about and put the results from the base in the userData and so on and in conctact put the whole result to the dataset

Did you find this page helpful?