MATLAB How to Use URLREAD with a Password Protected Website -
MATLAB How to Use URLREAD with a Password Protected Website -
i trying utilize urlread
grab contents of password protected website. when i'm logged in, url http://media.nba.com/stats/officialboxscores.aspx, , when logged out, url 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 login credentials gives me contents of url before logging in. see question has been asked before, couldn't find solution situation. there way utilize urlread
past password protection wall?
any help appreciated!
you need specify method
(use 'post'), , parameters need cell array of name/value pairs.
does work :
urlread('http://media.nba.com/stats officialboxscores.aspx','post',{'username','username';'password','password'} );
matlab password-protection urlread
Comments
Post a Comment