SmartReader
SmartReader copied to clipboard
Reader.ParseArticle will raise weird HttpRequestException exception
For this code:
Article article = Reader.ParseArticle(url);
If request to the url returned HTTP 403 Forbidden
, it will raise HttpRequestException
exception. The exception object will contains a .StatusCude
property but the value will be (null)
, and the .Message
property will contains Cannot GET resource <URL>. StatusCode: Forbidden
. That's not what I expected.