lib/tubesio/utils.js
function EStoreScraper() {
    _.defaults(this, {
        logger: new logging.Logger(),
        cookieJar: new CookieJar(),
        maxConcurrency: 10,
        startPage: '',
        agent: new http.Agent()        
    });
    
    this.agent.maxSockets = this.maxConcurrency;
    this.products = [];
    this.waiting = 0;
}
function EStoreScraper() {
    _.defaults(this, {
        logger: new logging.Logger(),
        cookieJar: new CookieJar(),
        maxConcurrency: 10,
        startPage: '',
        agent: new http.Agent()        
    });
    
    this.agent.maxSockets = this.maxConcurrency;
    this.products = [];
    this.waiting = 0;
}
function EStoreScraper ( ) { _ . defaults ( this , { logger : new logging . Logger ( ) , cookieJar : new CookieJar ( ) , maxConcurrency : 10 , startPage : '' , agent : new http . Agent ( ) } ) ; this . agent . maxSockets = this . maxConcurrency ; this . products = [ ] ; this . waiting = 0 ; }
General purpose e-commerce store scraper shell.
General purpose e - commerce store scraper shell .