The ASX appear to be blocking automated/bot traffic to their api.
The app is no longer initializing, with errors similar to below in the logs.
Curl'ing https://www.asx.com.au/asx/share-price-research/company/BHP results in a similar error, while putting the url in a browser returns the expected json.
<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?SWUDNSAI=31&xinfo=11-20811742-0%200NNN%20RT%281707272883470%20260%29%20q%280%20-1%20-1%20-1%29%20r%280%20-1%29%20B12%284%2c315%2c0%29%20U24&incident_id=312001430051042670-103956453604729803&edet=12&cinfo=04000000&rpinfo=0&cts=9HnUVX%2bAbRhesKw%2bPBQlYcJY%2fqoo8pkO%2f4V83xur8xgbgq5I2ySdLdSlyv90WACi&mth=GET" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 312001430051042670-103956453604729803</iframe></body></html>
Do we need to change the headers or something?
The ASX appear to be blocking automated/bot traffic to their api.
The app is no longer initializing, with errors similar to below in the logs.
Curl'ing https://www.asx.com.au/asx/share-price-research/company/BHP results in a similar error, while putting the url in a browser returns the expected json.
<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?SWUDNSAI=31&xinfo=11-20811742-0%200NNN%20RT%281707272883470%20260%29%20q%280%20-1%20-1%20-1%29%20r%280%20-1%29%20B12%284%2c315%2c0%29%20U24&incident_id=312001430051042670-103956453604729803&edet=12&cinfo=04000000&rpinfo=0&cts=9HnUVX%2bAbRhesKw%2bPBQlYcJY%2fqoo8pkO%2f4V83xur8xgbgq5I2ySdLdSlyv90WACi&mth=GET" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 312001430051042670-103956453604729803</iframe></body></html>Do we need to change the headers or something?