Strumenta / SmartReader

SmartReader is a library to extract the main content of a web page, based on a port of the Readability library by Mozilla
https://smartreader.inre.me
Apache License 2.0
158 stars 36 forks source link

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. #53

Closed iansmirlis closed 1 year ago

iansmirlis commented 1 year ago

I get the following exception on some URLs, like https://www.olympia.gr/1076860/ellada/oi-exairetikes-scheseis-ellados-servi/

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. at SmartReader.NodeUtility.GetDisplayFromStyle(String style) at SmartReader.NodeUtility.IsHidden(IElement element) at SmartReader.NodeUtility.IsProbablyVisible(IElement node) at SmartReader.Reader.GrabArticle(IElement page) at SmartReader.Reader.Parse() at SmartReader.Reader.GetArticle()