cutycapt という x11 用のアプリを使うと簡単に web ページがキャプチャできます。
# x11 仮想ディスクトップのインストール $ sudo apt-get install xvfb # 日本語フォントのインストール $ wget http: //ipafont .ipa.go.jp /ipafont/IPAfont00303 .php $ unzip IPAfont00303.php $ sudo cp IPAfont00303/*ttf /usr/share/fonts/ $ rm -rf IPAfont00303* # cutycapt のインストール $ sudo apt-get install cutycapt |
$ xvfb-run cutycapt --url=http: //www .uniqlo.com /jp/ --out=uniqlo.jpg |