Use GrabzIt’s Rendered HTML API to execute a URL or HTML snippet in a browser instance and return the processed HTML to your code for further processing.
Do you need to get the result of a web page after JavaScript has been executed? Perhaps because you have written an app to scrape the web and need to return the rendered HTML that a browser will produce. Rather than just the raw HTML of a web page. Then this is the API for you!
However this API is also very new and is currently undergoing beta testing. So if you have any issues or suggestions for it please don’t hesitate to contáctenos. You can also try out this feature in our Herramienta de captura de pantalla allowing you to get rendered HTML without writing any code.
Try the demo below to see how our API converts any URL to rendered HTML Just enter the URL of a web page and click GrabzIt. Then once complete a HTML file containing the rendered HTML of that web page will be automatically downloaded.
Like all of GrabzIt's API's the Rendered HTML API supports eight programming languages. Just select the required language from the options below to see a code snippet and instructions on how to implement it in your app.
The example code below shows how easy it is to use our API to convert URL's to rendered HTML using JavaScript. To start creating rendered HTML download GrabzIt's JavaScript Library. Entonces consigue tu clave y secreto, agregar el dominio desea usar JavaScript y luego verifique Documentación API para JavaScript para descubrir todas las formas en que puede usar la API de GrabzIt.
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.3.7/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("https://www.bbc.com/",
{"format": "html"}).Create();
</script>
You can of course customize the HTML rendering using the opciones property in a similar way to what is available for the other formats.