mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2024-11-21 23:23:07 +01:00
readme in static tests
This commit is contained in:
parent
4ca50ab2b9
commit
87fcdd35d5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "se-scraper",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"description": "A module using puppeteer to scrape several search engines such as Google, Duckduckgo, Bing or Baidu",
|
||||
"homepage": "https://scrapeulous.com/",
|
||||
"main": "index.js",
|
||||
|
@ -1,9 +1,15 @@
|
||||
## Test with static HTML
|
||||
|
||||
dynamic testing of se-scraper takes too much fucking time.
|
||||
Dynamic testing of se-scraper takes too much time.
|
||||
|
||||
Save some html and initialize google scraper with the saved html.
|
||||
Save some html and initialize se-scraper by loading the search from disk.
|
||||
|
||||
### Disadvantage
|
||||
|
||||
static html gets outdated
|
||||
static html gets outdated after some time
|
||||
|
||||
### Advantages
|
||||
|
||||
1. Let's us test corner cases that are missed easily
|
||||
2. Testing is not reliable, since search engines do not always return the same results for the same query
|
||||
3. As said, much faster
|
Loading…
Reference in New Issue
Block a user