以前,我已经根据参数确定了如何发送图像,现在我将命令更新为其他命令处理程序,并且它不发送任何内容。控制台中的错误显示:
SESSION_COOKIE_SECURE
ErrorClass [HTTPError]: Response code 403 (Forbidden)
at C:\Users\infec\Desktop\Uni Beta\node_modules\google-images\node_modules\got\index.js:123:13
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
host: 'www.googleapis.com',
hostname: 'www.googleapis.com',
method: 'GET',
path: '/customsearch/v1?q=summer&searchType=image&cx=91069a4e85b6cd0e0&key=AIzaSyCTOYK4lo7uEr59H___PPH5d7e3kAk3OnY',
statusCode: 403,
statusMessage: 'Forbidden'
}