Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Exception Thrown Calling reader.Read() #21

Open
GlennIM opened this issue Aug 2, 2019 · 0 comments
Open

Exception Thrown Calling reader.Read() #21

GlennIM opened this issue Aug 2, 2019 · 0 comments

Comments

@GlennIM
Copy link

GlennIM commented Aug 2, 2019

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"
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant