Webをキャプチャして変換するツール

GrabzIt を使用して URL をスクリーンショットする XNUMX つの簡単な方法

2019年9月16日
Screenshot URL

URL のスクリーンショットを取得する最も簡単な方法は、GrabzIt の オンラインスクリーンショットツール, まず新しいタスクを作成し、スクリーンショットを撮りたい Web サイトの URL を入力し、特別なオプションを指定すると、指定した方法で URL スクリーンショットが返されます。

The next method is to use GrabzIt's JavaScript API to take a screenshot a of a URL, however using GrabzIt's コアプラグイン makes this even easier, simply specify what HTML element the URL screenshot should be added to along with your アプリケーションキーとシークレット 以下のコードに示すように。

<div id="screenshot"></div>
<script>
GrabzIt("APPLICATION KEY").ConvertURL('http://www.google.com').AddTo('screenshot');
</script>

The final option is to take a URL screenshot using one of the eight server side programming language provided by GrabzIt's API's. The below example uses the PHP API to get started specify the Application Key and Secret. Then pass the URL to the URLToImage 呼び出す前のメソッド SaveTo method as shown below to create a URL screenshot at the file location specified.

include("GrabzItClient.class.php");
$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");
$grabzIt->URLToImage("http://www.google.com"); 
$grabzIt->SaveTo("screenshot.png"); 

Additionally, if you want to screenshot every URL on a website you can do so by using GrabzIt's Webスクレーパー ツール。

最新のブログ投稿を見る