ReadSharp
ReadSharp copied to clipboard
Exception Thrown Calling reader.Read()
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" }