Read a table off of a website

6 views (last 30 days)
Abhi
Abhi on 25 Oct 2024
Commented: Abhi on 29 Oct 2024 at 12:29
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
Abhi
Abhi on 29 Oct 2024 at 12:29
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.

Categories

Find more on Tables in Help Center and File Exchange

Tags

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!