Back of napkin approach:
Allow-list some sites that already have a good reputation for useful results (probably anything scraped for summary snips).
Penalize all other sites based on the quantity of ads and similar non-content.
Use the old web search core on what's left.