@nexter31

JSDOM parse inpute?

Good day friends Please tell me how do I spar mail from the site, I think I did but the console comes up null, please tell me what is my mistake or an example of another library

const fs = require('fs');
const got = require('got');
const jsdom = require("jsdom");
const { JSDOM } = jsdom;

const vgmUrl= 'https://www.experte.com/spam-checker';

got(vgmUrl).then(response => {
  const dom = new JSDOM(response.body);
  console.log(dom.window.document.querySelector('input'));
}).catch(err => {
  console.log(err);
});,
  • Вопрос задан
  • 88 просмотров
Пригласить эксперта
Ответы на вопрос 1
Rst0
@Rst0
()=>{}
.then((response) => {
.catch((err) => {
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы