wgetで認証後の取得

qiita.com

qiita.com

wget --mirror \
     --page-requisites \
     --span-hosts \
     --quiet --show-progress \
     --no-parent \
     --convert-links \
     --adjust-extension \
     --execute robots=off \
     --header='Cookie: Name=xxxxxxxxxxxxxxxxxxxxxxxxx' \
     https://example.com

Cookieの見方

Domainが合うものを見つけて、 その行の Name=Valueの組み合わせを抜き出す。