clean test case for google is passing

This commit is contained in:
Nikolai Tschacher
2019-01-31 14:57:34 +01:00
parent 987e3d7342
commit c60d0f3528
6 changed files with 225 additions and 30 deletions

6
run.js
View File

@ -20,13 +20,13 @@ let config = {
// this output is informational
verbose: true,
// an array of keywords to scrape
keywords: ['news'],
keywords: ['apple tree'],
// alternatively you can specify a keyword_file. this overwrites the keywords array
keyword_file: '',
// the number of pages to scrape for each keyword
num_pages: 2,
num_pages: 1,
// whether to start the browser in headless mode
headless: true,
headless: false,
// path to output file, data will be stored in JSON
output_file: '',
// whether to prevent images, css, fonts from being loaded