URLREAD Password Protected Website

Hi everyone. I am trying to use urlread to grab the contents of a password protected website. When I'm logged in, the url is http://media.nba.com/Stats/OfficialBoxScores.aspx, and when logged out, the url is http://media.nba.com/Stats/Login.aspx?ReturnUrl=%2fStats%2fOfficialBoxScores.aspx. I've tried
urlread('http://media.nba.com/Stats/OfficialBoxScores.aspx' ...
, 'Username','username','Password','password');
with my login credentials but it only gives me the contents of the url before logging in. Is there a way to use urlread to get pass the password protection wall? Any help would be greatly appreciated!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기

태그

질문:

2014년 10월 13일

편집:

2014년 10월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by