動的に構築された Initializr zip アーカイブをダウンロードするスクリプトを作成しようとしています。何かのようなもの:
wget http://www.initializr.com/builder?mode=less&boot-hero&h5bp-htaccess&h5bp-nginx&h5bp-webconfig&h5bp-chromeframe&h5bp-analytics&h5bp-build&h5bp-iecond&h5bp-favicon&h5bp-appletouchicons&h5bp-scripts&h5bp-robots&h5bp-humans&h5bp-404&h5bp-adobecrossdomain&jquery&modernizrrespond&boot-css&boot-scripts
その URLはブラウザでは機能しますが、スクリプトでは機能しません。スクリプトでは、アーカイブのごく一部をダウンロードしbuilder?mode=less
、initializr-less-verekia-3.0.zip
.
builder?mode=less
実際には解凍されるため、zipファイルの名前が間違っているだけです。しかし、必要なファイルのおそらく 80% が欠落しています。
これをスクリプト化する方法を知っている人はいますか?