How to read a dynamic javascript-generated website?

8 次查看(过去 30 天)
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 个评论
Mohammad Sami
Mohammad Sami 2019-12-30
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Google 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by