arminreiter/FeedReader

Ignores if url contains encoding character

erkantaylan opened this issue · 1 comments

I am trying to parse Stackoverflow rss feed, but feed url contains %23 for C#

string URL1 = "https://stackoverflow.com/feeds/tag?tagnames=c%23&sort=newest";
Feed feed = await FeedReader.ReadAsync(URL1);

I tried with @

string URL1 =@"https://stackoverflow.com/feeds/tag?tagnames=c%23&sort=newest";

still ignores %23 and shows C feeds

I found the problem, HmtlAgilityPack causes.

I downloaded the rss to a file, and read from it, everything is fine.

I tried to download html with HtmlDocument doc = web.Load(url); it brokes

After I downloaded html with another package (RestSharp) and load html like this FeedReader.ReadFromString(html) everything is still fine.