Answer the question
In order to leave comments, you need to log in
How to extract the necessary data from HTML?
I am writing an application for Windows/Windows Phone using HTML+JS. It GET'om receives HTML-structure from any site. This structure is stored in a variable and in the application's local data. I want to extract news headlines from this structure, well, and other data.
And what should I do with it, with this HTML? I won't put my mind to it. Regulars - not that, I don’t want to connect JQuery, IndexOf is so-so. I would like to connect a JS library that would solve all my tortures, but I don’t know those. Went through a bunch of articles and got confused.
PS And to sculpt a pars server - well, it's easier to write a diploma.
Answer the question
In order to leave comments, you need to log in
There is an HTML Agility Pack
library
I don’t know for sure if it works with JS, but I used it with C #.
It would be easier to use jQuery, throw an object at it and do whatever you want with it.
veynik.ru/jquery/jquery-filtering
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question