웹 캡처 및 변환 도구

HTTP 프록시를 사용하여 웹 캡처 작성

Using your own HTTP proxy you can take any type of capture, such as a image or PDF screenshot, from anywhere in the world. If you don't have a proxy server already we recommend using Smartproxy as they have more than 195 locations 에서 선택합니다.

To use a proxy you must first provide its connection details. Just enter the proxy details in the wizard below and then press the 생성 button to create a proxy address that can be used in GrabzIt's API's. If instead you want to take captures from a behind a local proxy then you need to follow 이러한 지침.

필요한 경우 사용자 이름을 입력하십시오
필요한 경우 비밀번호를 입력하십시오

프록시 주소 사용

위의 프록시 주소를 생성하면 HTTP 프록시를 사용하여 캡처를 작성하는 예가 현재 지원되는 모든 프로그래밍 언어에 대해 나타납니다.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.Proxy = "";

grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.Save("http://www.example.com/Home/Handler");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.setProxy("");

grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.Save("http://www.example.com/handler");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.4.7/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com", 
{"onfinish": function (id){
   alert(id);
}, 
"proxy":""}).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 = {"proxy":""};

client.url_to_image("http://www.spacex.com", options);
client.save("http://www.example.com/handler", 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->proxy("");

$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->Save("http://www.example.com/handler.pl");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setProxy("");

$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->Save("http://www.example.com/handler.php");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.proxy = ""

grabzIt.URLToImage("http://www.spacex.com", options)
grabzIt.Save("http://www.example.com/handler.py")
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.proxy = ""

grabzIt.url_to_image("http://www.spacex.com", options)
grabzItClient.save("http://www.example.com/handler/index")

GrabzIt의 프록시 서버 사용하기

때로는 웹 사이트 캡처를 많이 요청하는 경우 웹 사이트가 IP 주소 중 하나를 차단하는 경우가 있습니다. 이 문제를 해결하려면 GrabzIt의 프록시 서버를 사용할 수 있습니다. 캡처가 생성되는 국가의 프록시 서버 뱅크 중 하나를 통해 대상 웹 사이트를 호출합니다.

이렇게하려면 그냥 통과 grabzit:// 아래에 표시된대로 국가를 특정 위치로 제한하려는 경우 proxy 매개 변수로 설정하고 country 매개 변수를 설정하십시오.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.Proxy = "grabzit://";

grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.Save("http://www.example.com/Home/Handler");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.setProxy("grabzit://");

grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.Save("http://www.example.com/handler");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.4.7/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com", 
{"onfinish": function (id){
   alert(id);
}, 
"proxy":"grabzit://"}).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 = {"proxy":"grabzit://"};

client.url_to_image("http://www.spacex.com", options);
client.save("http://www.example.com/handler", 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->proxy("grabzit://");

$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->Save("http://www.example.com/handler.pl");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setProxy("grabzit://");

$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->Save("http://www.example.com/handler.php");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.proxy = "grabzit://"

grabzIt.URLToImage("http://www.spacex.com", options)
grabzIt.Save("http://www.example.com/handler.py")
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.proxy = "grabzit://"

grabzIt.url_to_image("http://www.spacex.com", options)
grabzItClient.save("http://www.example.com/handler/index")

프록시를 사용하면 캡처를 작성하는 데 걸리는 시간이 느려집니다. int추가 네트워크 홉을 발생시킵니다.