Auto select an option

3 Ansichten (letzte 30 Tage)
Vlad State
Vlad State am 14 Mär. 2018
Kommentiert: Vlad State am 16 Mär. 2018
Hi there,
I was wondering if I can auto-select something from a website (example: languages from http://www.newocr.com/) using webread/webwrite or some kind of command. First of all, I just want to make sure that this is possible or not.
Thank you!

Akzeptierte Antwort

Guillaume
Guillaume am 14 Mär. 2018
Using webread, webwrite or any other built-in command, no it's not possible. The submission/selection is all handled by javascript which none of the built-in tools can handle.
You could possibly do it by using the java API (unrelated to javascript) to parse the DOM and make the correct javascript calls but it would be a lot of work.
That page has not been designed to be manipulated by computers. You could contact the owners and ask them if they provide a REST interface (which would be easy to use from matlab).
  1 Kommentar
Vlad State
Vlad State am 16 Mär. 2018
Thank you for your answer!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by