scrapehero / selectorlib

A library to read a YML file with Xpath or CSS Selectors and extract data from HTML pages using them
MIT License
65 stars 11 forks source link

84 fix handle unsupported item types #86

Closed sumeshmurali closed 1 year ago

sumeshmurali commented 1 year ago

I have added validations to the Extractor class to validate the configuration as well as to the extract_field function. Added tests for that as well. Notice that there are a few formatting changes done to the code to pass flake8 in tox. Please review this and let me know if anything changes are required.