Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
Cómo obtener contenido de metaetiquetas de la URL del sitio usando NextJS

Estoy buscando extraer la descripción y el título de la etiqueta meta de cualquier sitio. ¿Hay alguna manera de hacer esto con NextJS? Probé algunas bibliotecas y enfoques diferentes, pero no tuve mucha suerte.

Aquí está el código que hice para obtener el texto de un sitio. Solo necesito una forma simple de analizar ese texto idealmente sin expresiones regulares:

 export default function Home({ data }) { return ( <pre>{data}</pre> ) } export async function getServerSideProps() { const res = await fetch(`https:nextjs.org`) const data = await res.text() return { props: { data } } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!