forked from extern/se-scraper
.. | ||
html | ||
bing.js | ||
clean_html_test.js | ||
compression.js | ||
duckduckgo.js | ||
google.js | ||
README.md | ||
yandex.js |
Test with static HTML
Dynamic testing of se-scraper takes too much time.
Save some html and initialize se-scraper by loading the search from disk.
Disadvantage
static html gets outdated after some time
Advantages
- Let's us test corner cases that are missed easily
- Testing is not reliable, since search engines do not always return the same results for the same query
- As said, much faster