取り留めのない wget メモ。こういう場当たり的な呪文の覚え方は良くない。

  • wget -S --spider $URL/page.html の呪文を覚えたが、何かに使えるだろうか。
  • wget --level=1 --recursive --no-parent --accept jpg $URL/images: これだと拾い過ぎるので、スクリプトを自作している。
  • wget --output-document - -quiet $URL/page.html: cat 感覚で使える。
  • wget --limit-rate=20k --wait=60 --random-wait --mirror $URL: 丸々ダウンロードの一例。