Read a table off of a website

I'm trying to read the table of stocks off of this link: https://www.nasdaq.com/market-activity/stocks/aapl/historical?page=8&rows_per_page=10&timeline=y1. I've tried readtable and webread functions but none have given me great results.

1 Comment

I keep getting this error, is there anything I can do about it?
Error using webread (line 122)
The connection to URL 'https://www.nasdaq.com/market-activity/stocks/aapl/historical?page=8&rows_per_page=10&timeline=y1' timed out after 60.000 seconds. The reason is "Waiting for response header". Perhaps the server is not responding or weboptions.Timeout needs to be set to a higher value.

Sign in to comment.

Answers (1)

埃博拉酱
埃博拉酱 on 25 Oct 2024
Consider using htmlTree to parse the web page returned from webread.

Products

Release

R2024b

Tags

Asked:

on 25 Oct 2024

Commented:

on 29 Oct 2024

Community Treasure Hunt

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

Start Hunting!