mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2025-08-19 09:51:32 +02:00
ticker search OOP now and added tests
This commit is contained in:
4
run.js
4
run.js
@@ -12,7 +12,7 @@ let config = {
|
||||
// is drawn before every request. empty string for no sleeping.
|
||||
sleep_range: '[1,2]',
|
||||
// which search engine to scrape
|
||||
search_engine: 'google',
|
||||
search_engine: 'marketwatch',
|
||||
// whether debug information should be printed
|
||||
// debug info is useful for developers when debugging
|
||||
debug: false,
|
||||
@@ -20,7 +20,7 @@ let config = {
|
||||
// this output is informational
|
||||
verbose: true,
|
||||
// an array of keywords to scrape
|
||||
keywords: ['apple tree'],
|
||||
keywords: ['MSFT', 'AAPL'],
|
||||
// alternatively you can specify a keyword_file. this overwrites the keywords array
|
||||
keyword_file: '',
|
||||
// the number of pages to scrape for each keyword
|
||||
|
Reference in New Issue
Block a user