Tools to Capture and Convert the Web

Convert URL's and HTML into Videos with GrabzIt

Use GrabzIt's Video API to create short videos showing how a web page changes over time. The video files GrabzIt generate all use the H.264 format. To ensure that the videos will be playable in almost all browsers.

HTML to Video API

To use GrabzIt's HTML to Video API on your website or app, choose a programming language from below. Then follow the instructions to convert a web page or HTML to a video. The API is also HTML to MP4 converter being able to convert normal HTML files into videos.

The following code snippet illustrates how easy it is to convert URL's to videos using GrabzIt's ASP.NET library. The API documentation contains even more ways you can customize your captures.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")%>");
grabzIt.URLToVideo("https://www.tesla.com"); 
grabzIt.SaveTo("documents/result.mp4");

The following code snippet illustrates how easy it is to convert URL's to videos using GrabzIt's Java library. The API documentation contains even more ways you can customize your captures.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")%>");
grabzIt.URLToVideo("https://www.tesla.com"); 
grabzIt.SaveTo("documents/result.mp4");

This code shows how to change HTML or web pages into videos using JavaScript with just a few lines of code. To start creating videos download GrabzIt's JavaScript Library. Then get your Application Key and Secret, add the domain you want to use the JavaScript on.

<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@<%= APIVersion.JavaScript %>/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("https://www.bbc.co.uk/",
{"format":"mp4"}).Create();
</script>

The following code snippet illustrates how easy it is to convert URL's to videos using GrabzIt's Node.js library. The API documentation contains even more ways you can customize your captures.

var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret")%>");
grabzIt.url_to_image("https://www.tesla.com");
client.save_to("documents/result.mp4", function (error, id){
    if (error != null){
        throw error;
    }
}); 

The following code snippet illustrates how easy it is to convert a URL into a video using Perl. The API documentation contains even more ways you can customize your captures.

#!/usr/bin/perl

use GrabzItClient;

$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$grabzIt->URLToVideo("https://www.tesla.com");
$grabzIt->SaveTo("documents/result.mp4");

The following code snippet illustrates how easy it is to convert a URL into a video using PHP. The API documentation contains even more ways you can customize your captures.

include("GrabzItClient.php");

$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$grabzIt->URLToVideo("https://www.tesla.com"); 
$grabzIt->SaveTo("documents/result.mp4");

The following code snippet illustrates how easy it is to convert a URL into a video using Python. The API documentation contains even more ways you can customize your captures.

from GrabzIt import GrabzItClient

grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
grabzIt.URLToVideo("https://www.tesla.com") 
grabzIt.SaveTo("documents/result.mp4") 

The following code snippet illustrates how easy it is to convert URL's to videos using GrabzIt's RESTful API. The API documentation contains even more ways you can customize your captures.

https://api.grabz.it/services/convert?key=Sign in to view your Application Key&format=mp4&url=http%3A%2F%2Fwww.bbc.co.uk%2F

The following code snippet illustrates how easy it is to convert a URL into a video using Python. The API documentation contains even more ways you can customize your captures.

require 'grabzit'

grabzItClient = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
grabzItClient.url_to_video("https://www.tesla.com")	
grabzItClient.save_to("documents/result.mp4")