forked from DebaucheryLibrarian/traxxx
Inspecting performance.
This commit is contained in:
@@ -131,7 +131,11 @@ async function scrapeScene(html, url, site) {
|
||||
}
|
||||
|
||||
async function fetchLatest(site, page = 1) {
|
||||
console.time('dogfart');
|
||||
console.log('scraping...', site.name);
|
||||
const res = await bhttp.get(`https://dogfartnetwork.com/tour/scenes/?p=${page}`);
|
||||
console.timeEnd('dogfart');
|
||||
console.log('done!', site.name);
|
||||
|
||||
return scrapeLatest(res.body.toString(), site);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user