Using webread/webwrite to access website that is protected by ddos service
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I am trying to let Matlab automatically screen for new coin removal posts on a specific website: https://support.bittrex.com/hc/en-us (or more specifically: https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals). However, whenever I use the respective matlab functions urlread or webread. This is the code I use to retrieve the data:
url = 'https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals';
data = webwrite(url);
When I execute this code, the following error is returned:
Error using readContentFromWebService (line 45)
The server returned the status 503 with message "Service Temporarily Unavailable" in response to the request to URL
https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals.
Error in webread (line 122)
[varargout{1:nargout}] = readContentFromWebService(connection, options);
When I access the webpage with my browser, sometimes a pre-loading page appears where it says "checking your browser ..." or something like that which I believe is related to some sort of DDoS protection deployed by the host of the website. After a few seconds, you then have access to the actual website. The following works just fine:
url = 'https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals';
web(url);
The matlab browser openes the website as you would expect. Does anyone have an idea on how to retrieve the data from this website like webread would usually do (hence the simply html-text)?
Thanks!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!