Tools zum Erfassen und Konvertieren des Webs

Standortspezifische Screenshots

GrabzIt's API und Online-Screenshot-Tool Beide unterstützen standortspezifische Screenshots, also Screenshots aus einem bestimmten Land. Der standardmäßige geografische Standort, von dem aus ein Screenshot erstellt wird, ist normalerweise der schnellste verfügbare Standort. Wenn Sie jedoch den Standort ändern möchten, von dem ein Screenshot erstellt wird, wenn Sie eine unserer APIs verwenden, ändern Sie den Länderparameter in „SG“ für Singapur, „UK“ für das Vereinigte Königreich oder „US“ für die Vereinigten Staaten.

Die Vereinigten Staaten, das Vereinigte Königreich und Singapur wurden als Standorte für die Erfassungsserver ausgewählt, da diese Standorte über die ganze Welt verteilt sind into Drei fast gleiche Teile, was bedeutet, dass es möglich sein sollte, jede globale Website schnell zu erfassen Geo-Targeting. Beachten Sie auch, dass, wie in der Karte gezeigt, ein US-Screenshot entweder mit unseren Capture-Servern in New York, Chicago oder Miami erstellt wird, während ein UK-Screenshot von unserem Londoner Rechenzentrum aus erstellt wird.

Wenn Sie möchten, dass Screenshots aus einem anderen Land als den derzeit verfügbaren erstellt werden, wenden Sie sich bitte an uns Support kontaktieren, wenn es genügend Nachfrage für ein neues Land gibt, können wir es hinzufügen!

Nachfolgend finden Sie ein Beispiel für die Festlegung des Landes, aus dem eine Aufnahme erfolgen soll, für jede von GrabzIt unterstützte Programmiersprache.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.Country = Country.US;
grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.SaveTo("spacex.jpg");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.setCountry(Country.UNITEDSTATES);
grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.SaveTo("spacex.jpg");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.5.2/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com", {"country":"US"}).Create();
</script>
var grabzit = require('grabzit');
var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
var options = {"country":"US"};
client.url_to_image("http://www.spacex.com", options);
client.save_to("spacex.jpg", function (error, id){
    if (error != null){
        throw error;
    }
});
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = GrabzItImageOptions->new();
$options->country("US");
$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->SaveTo("spacex.jpg");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setCountry("US");
$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->SaveTo("spacex.jpg");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.country = "US"
grabzIt.URLToImage("http://www.spacex.com", options)
grabzIt.SaveTo("spacex.jpg")
https://api.grabz.it/services/convert?key=Sign in to view your Application Key&format=jpg&country=US&url=http%3A%2F%2Fwww.spacex.com
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.country = "US"
grabzIt.url_to_image("http://www.spacex.com", options)
grabzIt.save_to("spacex.jpg")