webread not copying all data from website

4 ビュー (過去 30 日間)
Nathan Jen
Nathan Jen 2020 年 8 月 17 日
編集済み: Abhishek Gupta 2020 年 8 月 28 日
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.
MWE:
options = weboptions('RequestMethod', 'get', 'ArrayFormat', 'csv', 'ContentType', 'auto');
atpurl = 'https://www.tennis24.com/rankings/atp-race/';
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?

回答 (1 件)

Abhishek Gupta
Abhishek Gupta 2020 年 8 月 28 日
編集済み: Abhishek Gupta 2020 年 8 月 28 日

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by