I am trying to get response from nseindia.com. From last month it's giving timeout error. Before that it worked perfectly. Do i have to use any additional methods? Did website put some kind of block?
function debugoc2(){
var url = "https://www.nseindia.com/live_market/dynaContent/live_watch/option_chain/optionKeys.jsp?symbolCode=-10006&symbol=NIFTY&symbol=NIFTY&instrument=-&date=-&segmentLink=17&symbolCount=2&segmentLink=17";
var response = UrlFetchApp.fetch(url,{muteHttpExceptions: true});
var rc = response.getResponseCode();
Logger.log(rc);
var fileBlob = response.getBlob();
var content = fileBlob.getDataAsString();
Logger.log(content);
}