What's the MatLab WEBSAVE equivalent of this WGET command?
10 次查看(过去 30 天)
显示 更早的评论
I can't get websave to work (on Win10, R2020a).
What is the MatLab equivilent of this wget command. Note it uses a proxy and authenticaation.
wget --post-data "identity=MYUSER&password=MYPASS&query=PAGEURL" https://AJAXAUTH_URL -e https_proxy=PROXYIP:PORT -O OUTFILE
The above can be broken into two, to reuse the authentication many times. What is the MatLab equivilent here?
wget --save-cookies=COOKIEPATH AUTHURL --post-data "identity=MYUSER&password=MYPASS" -e https_proxy=PROXYIP:PORT -O nul
wget --load-cookies=COOKIEPATH PAGEURL -e https_proxy=PROXYIP:PORT -O OUTFILE
Thank you
1 个评论
Mohammad Sami
2020-9-2
See if there following answers helps you to get the cookie. https://www.mathworks.com/matlabcentral/answers/307689-sending-session-cookie-with-each-subsequent-http-request-in-matlab
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!