mardi 2 octobre 2018

How can I click on web and get content of website?

I'd like to write program which get the content of website (it's ok in html format). However I have one issue. On main page there is menu with few buttons - "1 minute", "5 minute", "15 minute", etc. When I inspect this web I have something like below:

enter image description here

After click on i.e. "5 minutes" website (default is "15 minutes") reloads and now I have interesting for me content which I'd like to get. After clicking this above snippet changes to (my "5 minutes" button gets " active-1jm_3h9d-" description):

enter image description here

Do you have any idea how can I programatically in java code "click" on this "5 minutes"?




Aucun commentaire:

Enregistrer un commentaire