IonicaBizau / scrape-it

🔮 A Node.js scraper for humans.

Home Page:http://ionicabizau.net/blog/30-how-to-write-a-web-scraper-in-node-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optionally throw if selector not matched

jayarjo opened this issue · comments

Would be great if it would throw if particular selector went unmatched.

This is doable easily by validating the value (either in the final result or in the convert function of the selector).