Advise a parser for a beginner to make it easy to disassemble and replace variables. Need a parser for files!

We have my сайт1 . We have сайт2 . сайта2 has files on server. It is necessary to make sure that my site has a search on their site. And the track with the name that we enter in my search appeared on the сайте1 . With info about weight, performer and so on.

  • I will say right away - there is no universal parser. But under some particular site you can sharpen. In order to parse, you can use regular expressions (although some consider that they are not applicable to html). - KoVadim 2:12 pm

1 answer 1

I agree with KoVadim) I need a self-written parser. Regarding the regulars - without them, it’s more likely to go anywhere. Only if the site is properly designed and you can work with it through the DOM - which will be more elegant and faster