How to read a dynamic javascript-generated website?

8 visualizaciones (últimos 30 días)
Melina Lucia
Melina Lucia el 18 de Dic. de 2019
Comentada: Mohammad Sami el 30 de Dic. de 2019
Hello,
how can I read the contents of a website, which is generated dynamically by javascript?
If I use webread, I will only get the call of the javascript function:
<script src="JS/index.js"></script>
but not the contents itself.
Javascript is running inside the web browser (I use google chrome), so, can I read the output of the javascript function from the chrome browser somehow ..???
Thank you very much for your help!
  3 comentarios
Melina Lucia
Melina Lucia el 18 de Dic. de 2019
The website doesn't offer an API.
Mohammad Sami
Mohammad Sami el 30 de Dic. de 2019
You will need to look outside of Matlab for what you need. One option is to use Selenium. It has a java library which can be potentially integrated within matlab code.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Google en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by