A
A
Alex2016-08-30 13:33:39
PHP
Alex, 2016-08-30 13:33:39

How to parse web form input fields?

Hello!
The task is as follows: you need to parse a third-party site in order to obtain information about the information that is entered in various fields in the forms.
That is, at the output I would like to get at least something like a list of forms and fields in them (plus, the field type, its value, labels, hints, masks, etc. - everything that describes the input data) in order to understand : what data can be entered by the user on this site.
There is one caveat: in the modern web, forms can be generated on the client side - it is also desirable to take them into account when parsing.
Are there ready-made solutions or technologies for such a task?
Solutions are preferred in PHP or JavaScript, but any helpful suggestions would be greatly appreciated.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kravchenko, 2016-08-30
@mydearfriend

phantomjs + casperjs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question