MATLAB Answers

webread not copying all data from website

4 views (last 30 days)
Nathan Jen
Nathan Jen on 17 Aug 2020
Edited: Abhishek Gupta on 28 Aug 2020
I'm trying to copy down all the tennis rankings from the table on this website, then I'll pick and choose the ones I want to use.
options = weboptions('RequestMethod', 'get', 'ArrayFormat', 'csv', 'ContentType', 'auto');
atpurl = '';
atpdata = webread(atpurl,options);
Unfortunately atpdata does not include any of the results from the table on the website. It isn't expanding the html tree the results are contained within.
This program actually worked fine for me awhile ago but stopped after a few months of regular use. atpdata used to be a 1x1000000 char after running this but now it's been reduced to a 1x40000 char. Any thoughts?


Sign in to comment.





Community Treasure Hunt

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

Start Hunting!