I am unable to fetch https from the OpenTable website using the following code. However, when I try to fetch data from other sites e.g. Instagram using the same code, it works. As I just started learning web scraping with node js, could you let me know what could be the issue?
const request = require('request-promise');
(async () => {
const BASE_URL = 'https://www.opentable.co.uk/s?dateTime=2021-05-30T19%3A00%3A00&covers=2&latitude=51.525225&longitude=-0.079615'
let response = await request(BASE_URL);
let $ = cheerio.load(response);
console.log(response);
})();