-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build docker image #21
Closed
Closed
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
7de30eb
add docker image
slotix 6af22aa
skip installing puppeteer dependencies
slotix ea59278
return metadata + status code instead of results
slotix 390d903
add samples for baidu and google scraping
slotix d319e10
add proxy scripts
slotix 3527b3d
update se-scraper version
slotix 20cf157
fix server.js
slotix 506db87
change paths to scripts
slotix 9552d84
add package-lock to .gitignore
slotix a23a518
fixed merge conflict
slotix 739d5be
fix merge conflict
slotix d532d7c
add environment params to server.js
slotix 94896fa
add some scripts for tests
slotix 1ffe33d
update dependencies
slotix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36", | ||
"random_user_agent":true, | ||
"sleep_range":"", | ||
"search_engine":"baidu", | ||
"debug":true, | ||
"verbose":true, | ||
"keywords":[ "cat", "mouse" ], | ||
"keyword_file":"", | ||
"num_pages":1, | ||
"headless":true, | ||
"chrome_flags":[ ], | ||
"output_file":"examples/results/baidu.json", | ||
"block_assets":false, | ||
"custom_func":"", | ||
"proxy":"", | ||
"proxy_file":"", | ||
"test_evasion":false, | ||
"apply_evasion_techniques":true, | ||
"log_ip_address":false, | ||
"log_http_headers":false, | ||
"puppeteer_cluster_config":{ | ||
"timeout":600000, | ||
"monitor":false, | ||
"concurrency":1, | ||
"maxConcurrency":1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36", | ||
"random_user_agent":true, | ||
"sleep_range":"[1,2]", | ||
"search_engine":"google", | ||
"debug":true, | ||
"verbose":true, | ||
"keywords":["scrapeulous.com", "scraping search engines", "scraping service scrapeulous", "learn js"], | ||
"keyword_file":"", | ||
"num_pages":2, | ||
"headless":true, | ||
"chrome_flags":[ ], | ||
"output_file":"examples/results/google.json", | ||
"block_assets":false, | ||
"custom_func":"", | ||
"proxy":"http://proxy:24000", | ||
"proxy_file":"", | ||
"test_evasion":false, | ||
"apply_evasion_techniques":true, | ||
"log_ip_address":true, | ||
"log_http_headers":true, | ||
"puppeteer_cluster_config":{ | ||
"timeout":600000, | ||
"monitor":false, | ||
"concurrency":1, | ||
"maxConcurrency":2 | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I have an account and password, after my test, the request failed.