mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2025-01-26 06:08:34 +01:00
style: add debug trace on some file
This commit is contained in:
parent
f192e4ebb4
commit
8f6317cea7
@ -11,6 +11,7 @@ class CustomConcurrency extends Browser {
|
||||
|
||||
async workerInstance() {
|
||||
const options = this.options.perBrowserOptions.shift();
|
||||
debug('Launch puppeteer instance with options=%o', options);
|
||||
let chrome = await this.puppeteer.launch(options);
|
||||
let page;
|
||||
let context;
|
||||
|
@ -10,6 +10,7 @@ const debug = require('debug')('se-scraper:Scraper');
|
||||
|
||||
module.exports = class Scraper {
|
||||
constructor(options = {}) {
|
||||
debug('constructor');
|
||||
const {
|
||||
config = {},
|
||||
context = {},
|
||||
|
Loading…
Reference in New Issue
Block a user