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 Kommentare

Geoff Hayes
Geoff Hayes am 14 Jul. 2022
@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 am 14 Jul. 2022
Bearbeitet: DGM am 14 Jul. 2022
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 am 14 Jul. 2022
@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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 13 Jul. 2022

Kommentiert:

am 14 Jul. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by