webread not yielding actual website

Hi there. I'm trying to learn how to extract information from websites. As an example, i'm trying to extract text from Facebook posts but webread gives me something which appears to be quite different from what I'm actually seeing on the website. I'm a complete Noob at this particular type of task and so I was hoping I could get some pointers concerning how to get the text, as I see it, rather than some obscured version. Thanks in advance!

3 件のコメント

Geoff Hayes
Geoff Hayes 2022 年 7 月 14 日
@Jakob Sievers - can you provide an example of the code you are using to fetch the data, and the results of that fetch? Please describe what you are expecting to see from the results.
DGM
DGM 2022 年 7 月 14 日
編集済み: DGM 2022 年 7 月 14 日
Considering the source, I'm going to guess it's dynamic content.
Without knowing what page and what content exactly is being targeted, it's hard to be sure.
Jakob Sievers
Jakob Sievers 2022 年 7 月 14 日
@DGM: reading through the references in the thread you're referring to, I think it may be the exact problem that the stuff you're seeing on sites like Facebook is created not by basic HTML but by tons of scripts and such, which webread then is not able to extract.
Is there no way to dig deeper than webread, using matlab? I'd really like to stay on the Matlab platform, which I'm most familiar with, before considering other alternatives

サインインしてコメントする。

回答 (0 件)

質問済み:

2022 年 7 月 13 日

コメント済み:

2022 年 7 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by