webread not returning full html contents
Ältere Kommentare anzeigen
The following call to read a webpage
URL='https://courses.yale.edu/?keyword=energy&srcdb=202203';
data=webread(URL);
does not return the full contents of the html file of the webpage, in the following sense:
If I enter the URL as above in my browser and view the source code of the page, the contents are different from what is returned by webread.
I've tried using various forms of webread (and webwrite) with different weboptions, but every call returns the same limited html content, which is the same as the base html content of
'https://courses.yale.edu'
without the results of the search on the page, with the given query parameters.
1 Kommentar
Michael Oristaglio
am 29 Jun. 2022
Antworten (1)
DGM
am 29 Jun. 2022
0 Stimmen
Webread() just reads the page. It doesn't execute all the tons of scripts that are used to build the DOM.
Kategorien
Mehr zu Web Services finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!