Fetch / CORS problem

I’m having a problem with fetch, I’m trying to fetch a whole page from “https://archive.org” but, ofc, CORS is blocking it. The thing is, how do I do to be able to access it, without the extension?

const getPage = async () => {
    const response = await fetch(
    const text = await response.text()
    const parser = new DOMParser()
    const doc = await parser.parseFromString(text, 'text/html')
    const items = await doc.querySelectorAll('.item-ia')

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.