S
S
susan_kun2015-12-21 14:49:51
Programming
susan_kun, 2015-12-21 14:49:51

How to write the code for authorization, clicks, submitting the form and getting data?

There is a site with authorization in Java + JS / Jquery, after entering the login, the password is transferred to another page, there you need to make 5 clicks (the page reloads, the URL does not change) and the form will appear. After entering and submitting the form, information appears where I need only one line.
This process needs to be put on stream and made in the form of a script, where at the input is the line that is driven into the form, and at the output is the necessary line that is taken from the heap of data.
What can be used to write a script that will get this one necessary line after all these actions with authorization and clicks?
I know PHP, JS, Python, I thought in Python, but the URL does not change there and it turns out that we are writing some kind of bot (which is not prohibited by the site).
The site does not have an API, so you have to write something like this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FiFaGeFa, 2015-12-21
@FiFaGeFa

If there a lot depends on JS and without JS, then PhantomJS or its analogues.
Also a variant of Selenium.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question