Hello. Often I hear such a thing, “I did a parsing of such a site” or something else. How it works? what it is??

thank

  • one
    You did not find [information on this issue] [1] or do not understand the meaning of what was written? [1]: google.com/search?q=parsing+sites -
  • Parsing traditionally refers to the transfer of information from a text form to a structured one. For example, from HTML text to DOM. - VladD
  • one
    What the devil? Are you banned on wikipedia? There is an article on [topic] [1] [1]: ru.wikipedia.org/wiki/… - zenith
  • to parse site === programmatically link content - mountpoint

2 answers 2

For the interpretation of the term - in Google. And most likely they say so when they retrieve any data from the site in an automatic way, often even without any processing, which can hardly be called parsing. Well, this is the purposeful copying of the necessary information with a preliminary analysis of the source and finding in it the blocks carrying this information itself. For example: extort from the news site all the contents of a block with a class of news along with meta information (date in a divka with a class of date, etc.). Sometimes, in order to get rid of this work, the service offers an API from which this info can be taken without unnecessary gestures.

  • Thanks for the complete answer! - duddeniska

Receiving and parsing (analysis) of information from any site in your application, etc. and use it for any purpose. For example, you have a program that converts currencies. To convert you need currency rates. You find a website with exchange rates and parsish (get) them into your program.