필터 지우기
필터 지우기

Using webread/webwrite to access website that is protected by ddos service

조회 수: 2 (최근 30일)
Benvaulter
Benvaulter 2018년 1월 19일
댓글: Chem 2022년 2월 20일
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 CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by