웹 캡처 및 변환 도구

Amazon S3, FTP 등으로 캡처 내보내기

GrabzIt은 Amazon S3, Dropbox, FTP 및 WebDav로 캡처 내보내기를 지원합니다. 시작하려면 원하는 내보내기 방법의 자격 증명을 받아 입력하세요. into 아래 양식. 그런 다음 생성 GrabzIt의 API에서 사용할 수 있는 내보내기 URL을 생성하려면 버튼을 클릭하세요. 그러나 DropBox로 내보내려면 먼저 다음을 수행해야 합니다. GrabzIt 승인 귀하의 계정을 사용합니다.

내보내기 URL 사용

위의 내보내기 URL을 생성하면 현재 지원하는 모든 프로그래밍 언어에 대해 캡처 내보내기의 예가 아래에 표시됩니다.

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

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

grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.Save("http://www.example.com/Home/Handler");

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

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

grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.Save("http://www.example.com/handler");

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 ID가 12345인 경우 파일은 12345.pdf로 내보내집니다. 아래와 같이 onfinish 이벤트를 사용하여 ID에 액세스할 수 있습니다.

<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", 
{"onfinish": function (id){
	alert(id);
}, 
"export":"dropbox://"}).Create();
</script>

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

var grabzit = require('grabzit');

var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
var options = {"exportUrl":"dropbox://"};

client.url_to_image("http://www.spacex.com", options);
client.save("http://www.example.com/handler", function (error, id){
    if (error != null){
        throw error;
    }
});

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = GrabzItImageOptions->new();
$options->exportURL("dropbox://");

$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->Save("http://www.example.com/handler.pl");

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setExportURL("dropbox://");

$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->Save("http://www.example.com/handler.php");

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.exportURL = "dropbox://"

grabzIt.URLToImage("http://www.spacex.com", options)
grabzIt.Save("http://www.example.com/handler.py")

모든 캡쳐는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 파일 이름을 얻으려면 핸들러 코드에서 필요한 사후 처리를 수행할 수 있도록 콜백 핸들러 매개변수와 사용자 정의 식별자를 지정해야 합니다.

https://api.grabz.it/services/convert?key=Sign in to view your Application Key&export=dropbox%3A%2F%2F&customid=123&callback=https%3A%2F%2Fwww.example.com%2Fmy_handler&format=jpg&url=https%3A%2F%2Fspacex.com%2F

캡처는 saved 끝에 파일 확장자가 추가된 캡처 ID와 일치하는 파일 이름을 사용합니다. 예를 들어 PDF 캡처를 생성했고 해당 ID가 반환된 경우 save 방법 12345라면 ​​파일은 12345.pdf로 내보내집니다. 파일 이름을 얻는 더 쉬운 옵션은 콜백 핸들러 ~로 save 메서드를 실행하고 핸들러 코드에서 파일 이름을 읽습니다.

grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.exportURL = "dropbox://"

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

보안 내보내기 URL

때로는 JavaScript API를 사용하여 브라우저에서 내보내기 URL을 사용해야 하는 경우 스토리지 솔루션의 사용자 이름과 비밀번호가 노출될 수 있습니다. 이 문제를 해결하려면 보안 내보내기 URL을 대신 사용할 수 있습니다. 이렇게 하면 사용자 이름과 비밀번호가 노출되지 않습니다. 과거에 생성한 보안 내보내기 URL을 관리하려면 다음에서 관리할 수 있습니다. 응용 프로그램 섹션 귀하의 계정.