await fetch('').then(r=>r.text()).then(html=>new DOMParser().parseFromString(html,'text/html'))
例
await fetch('https://example.com').then(r=>r.text()).then(html=>new DOMParser().parseFromString(html,'text/html'))
const doc = await fetch('https://example.com').then(r=>r.text()).then(html=>new DOMParser().parseFromString(html,'text/html'))
console.log(doc.querySelector('a').href)