XmlReader (.net) returned 404 with RSS-link that Feedly reads ok

67 Views Asked by At
   string RSSURL = "http://zakupki.gov.ru/tinyurl/6a6ae7ed-e77d-4572-b7ac-43856452b2f6";

        WebClient wclient = new WebClient(); //method 1
        string RSSData = wclient.DownloadString(RSSURL);
        XDocument xml = XDocument.Parse(RSSData);


        var xmlReader = XmlReader.Create(RSSURL);//method 2. Both 404

It should be noted that the resource zakupki.gov.ru is very specific, with other channels these methods work well. A few nuget libraries I've seen are also working through xmlReader. That is, they can not solve this problem

1

There are 1 best solutions below

0
On BEST ANSWER