mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2025-08-13 15:37:31 +02:00
can now parse args from string to json
This commit is contained in:
17
run.js
17
run.js
@ -12,13 +12,15 @@ let config = {
|
||||
search_engine: 'google',
|
||||
|
||||
// use specific search engine parameters for various search engines
|
||||
google_settings: {
|
||||
google_domain: 'google.com',
|
||||
gl: 'us', // The gl parameter determines the Google country to use for the query.
|
||||
hl: 'us', // The hl parameter determines the Google UI language to return results.
|
||||
start: 0, // Determines the results offset to use, defaults to 0.
|
||||
num: 100, // Determines the number of results to show, defaults to 10. Maximum is 100.
|
||||
},
|
||||
// google_settings: {
|
||||
// google_domain: 'google.com',
|
||||
// gl: 'us', // The gl parameter determines the Google country to use for the query.
|
||||
// hl: 'us', // The hl parameter determines the Google UI language to return results.
|
||||
// start: 0, // Determines the results offset to use, defaults to 0.
|
||||
// num: 100, // Determines the number of results to show, defaults to 10. Maximum is 100.
|
||||
// },
|
||||
|
||||
google_settings: '{"gl": "tr", "hl": "tr", "num": "50", "start": "0"}',
|
||||
|
||||
// https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-web-api-v5-reference#query-parameters
|
||||
bing_settings: {
|
||||
@ -64,6 +66,7 @@ let config = {
|
||||
// check if headless chrome escapes common detection techniques
|
||||
// this is a quick test and should be used for debugging
|
||||
test_evasion: false,
|
||||
apply_evasion_techniques: false,
|
||||
// log ip address data
|
||||
log_ip_address: false,
|
||||
// log http headers
|
||||
|
Reference in New Issue
Block a user