Answer the question
In order to leave comments, you need to log in
Site parser on Mono. Where to begin??
There is a desire to write a simple parser for a specific site. I want to do it on Mono, why?? I don't know.
Tell me if there is a ready-made library for this purpose ??
Answer the question
In order to leave comments, you need to log in
Mono? This is a cross-platform analogue of (almost) the .NET Framework, that's all. In principle, if you make a simple console application without being tied to any Windows-specific resources, most often it, when built in Visual Studio, will work under Mono, and vice versa.
The availability of a ready-made library strongly depends on what kind of data you want to get. For parsing HTML, I recommend the SGMLReader package . There is also an HTML Agility Pack as an option.
To work with HTTP, there are tools of the platform itself - for example, HttpClient or the older HttpWebRequest .
Sergey Rodyushkin : Used the https://github.com/ezaurum/http-client library .
I try like this
using Gtk;
using System;
using Ezaurum.Http.Client;
using System.Net;
class Hello
{
static void Main ()
{
HttpRequestUtils object1 = new HttpRequestUtils();
Json_data = HttpRequestUtils.GetJson('http://muslimsalat.com/daily.json?key=319b6e0c9e5d35b7d5dd8455ddbcf90e');
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question