ReadSharp icon indicating copy to clipboard operation
ReadSharp copied to clipboard

Exception Thrown Calling reader.Read()

Open GlennIM opened this issue 5 years ago • 0 comments

I've NEVER seen this before as it has been working for so long. I'm getting an ReadException using certain URIs when calling the reader.Read() method. I've tried other URLs for the URI and this exception doesn't get thrown. Just https://www.cuttingedgeproducts.com/index.php?l=product_detail&p=XXXX" where XXXX is a product number.

Do you know this exception means and how it can be fixed? Thanks in Advance!

using ReadSharp;

Reader reader = new Reader(); Article article;

try { article = await reader.Read(new Uri("https://www.cuttingedgeproducts.com/index.php?l=product_detail&p=1722")); } catch (ReadException exc) { // Exception error message // "The empty string '' is not a valid local name.\r\nParameter name: name" }

GlennIM avatar Aug 02 '19 15:08 GlennIM