Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

151
Vistas
Wikipedia API infobox response text to Javascript object

I played around with Media Wiki API to get the infobox from an article. Using this call: https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&redirects=1&titles=Methan&rvsection=0

However the revived content at "*" is not very useful in its default form. I want to parse the text as a Javascript object, but I couldn't find a way to do this. I tried the wiki-infobox module, but the problem is that I don't have npm on that server and I can't use it. I need something which can be included via a script tag or a custom regex.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda