diff --git a/package.json b/package.json index 4dd2bfd..2832622 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/static_tests/README.md b/test/static_tests/README.md index b711e3e..140c6d2 100644 --- a/test/static_tests/README.md +++ b/test/static_tests/README.md @@ -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 \ No newline at end of file +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 \ No newline at end of file