hack のためのネタ帳, etc,,,

タグ検索でwget13件見つかりました。

20211218: wget - IPv6 link-local address に繋がらない

3%82%B9#IPv6]] に対して wget したいのだが、 =|| $ wget "http://[fe80::xxxx:xxxx:xxxx:xxxx]/" --2021-12-18 22:07:09-- http://[fe80::xxxx:xxxx:xxxx:xxxx]/ [fe80::xxxx:xxxx:xxxx:xxxx]:80 に接続しています... 失敗しました: 無効な引数です. ||= =|| $ LANG=C wget "http://[fe80::xxxx:xxxx:xxxx:…

https://seesaawiki.jp/w/kou1okada/d/20211218%3a%20... - 2021年12月18日更新

pacwget

[[Pacparser]] を用いた wget 用の wrapper ネタ元: StackExchange / serverfault / 2011-02-02: using wget through .pac config based proxy server # [[comment 925712>https://serverfault.com/a/925712]] * 公式ページ等 - GitHub / pacwget / [[pacwget>https://github.com/pa…

https://seesaawiki.jp/w/kou1okada/d/pacwget... - 2021年11月18日更新

aria2

* 公式ページ等 - SourceForge.net / [[aria2>http://aria2.sourceforge.net/]] - GitHub.io / [[aria2>https://aria2.github.io/]] * オプション - -s 分割数 - -j 最大並列ダウンロード数 - -x 1サーバー当りの最大接続数 - -k 分割の最小サイズ * Tips ** 分割ダウンロードによる高速化 サーバーが1つの場合はとりあえず以下のようにすれば良い。 =|| aria…

https://seesaawiki.jp/w/kou1okada/d/aria2... - 2021年07月01日更新

wget

* 公式ページ等 - [[GNU wget>https://www.gnu.org/software/wget/]] * Tips ** Mirroring 「-Nkp」で単一ページ、「-mkl0 -np」で同階層以下の全ページをミラー出来る。 =|| -N, --timestamping ローカルにあるファイルよりも新しいファイルだけ取得する -k, --convert-links HTML や CSS 中のリンクをローカルを指すよ…

https://seesaawiki.jp/w/kou1okada/d/wget... - 2021年06月22日更新

20210221: wget へパスワードを安全に渡したい

るんだけど、 認証付きのページに対して wget でバッチ処理をしたいので、shell script から wget を呼んで認証をさせる際にパスワードを安全に渡したい。 しかし --password オプションだと、ps -o args するとオプションに指定したパスワードが見えてしまうし、コマンドラインから呼んだ場合 history に password が残ってしまう。 コマンドラインから wget を一回だけ呼ぶだけなら --ask-password で対話的に password を聞い…

https://seesaawiki.jp/w/kou1okada/d/20210221%3a%20... - 2021年02月21日更新

20201126: wget2

で apt-cache search wget したら以下のようなものを見つけた。 =|| $ apt-cache search wget ... wget2 - file and recursive website downloader wget2-dev - development file for libwget2 ||= =|| $ apt-cache show wget2 Package: wget2 Architecture: amd64 Version: 1.99.1-2.1 Priori…

https://seesaawiki.jp/w/kou1okada/d/20201126%3a%20... - 2020年11月26日更新

20190623: SSL/TLS接続出来ない

Ubuntu 18.04 LTS の wget や openssl から接続出来ない。 Ubuntu 16.04 LTS は大丈夫みたいなんだが、どうも、OpenSSL や GNUTLS が脆弱な仕様切ったことが原因っぽい。 ** Debian sid =|| $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 1…

https://seesaawiki.jp/w/kou1okada/d/20190623%3a%20... - 2020年10月19日更新

HTTP_USER_AGENT

507SH, AndroidOne =|| Mozilla/5.0 (Linux; Android 8.1.0; 507SH Build/S2106) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36 ||= 302KC =|| Mozilla/5.0 (Linux; Android 4.4.2; 302KC Build/102.0.2e00) AppleWebKit/537.36 (KHTML…

https://seesaawiki.jp/w/kou1okada/d/HTTP%5fUSER%5f... - 2020年05月10日更新

wget - troubleshooting

的には、以下のような感じ。 =|| $ wget -m -np http://foo.bar/~hoge/index.html --2014-02-15 14:33:18-- https://foo.bar/~hoge/index.html foo.bar (foo.bar) をDNSに問いあわせています... 127.0.0.1 foo.bar (foo.bar)|127.0.0.1|:443 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 2…

https://seesaawiki.jp/w/kou1okada/d/wget%20%2d%20t... - 2019年11月11日更新

20191111: wget でディレクトリ中の ~ (tilde: チルダ)が化ける

* 状況 wget で =|| wget https://example.com/~foo/bar.html -p ||= とか =|| wget https://example.com/~foo/bar.html -m ||= のように -p, --page-requisites や -m, --mirror オプションを付けて、リンクされてるファイルをディレクトリ階層付きで保存した際に、 "~" ([[Tilde: U+007E>http://unicode.org/cldr/utility/…

https://seesaawiki.jp/w/kou1okada/d/20191111%3a%20... - 2019年11月11日更新

20180411: BITS で http/https から download が出来ない

Cygwin を入れようとしたところ wget 代わりに用いていた BitsTransfer が以下のようなエラーを吐いて動作せず。 =|| C:\Users\ほげほげ\Desktop\新しいフォルダー>powershell -Command "Import-Module BitsTransfer; Start-BitsTransfer https://gist.github.com/kou1okada/7802343/raw/cygwin_autoinstall.bat" Start-BitsT…

https://seesaawiki.jp/w/kou1okada/d/20180411%3a%20... - 2018年04月13日更新

20160225: wget で -N -c を併用すると -N が無効になる

26 x86_64 Cygwin $ wget --version GNU Wget 1.17.1 built on cygwin. +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls +ntlm +opie -psl +ssl/gnutls Wgetrc: /etc/wgetrc (system) Locale: /usr/share/locale Compile: gcc -DHAVE_CONFIG_H …

https://seesaawiki.jp/w/kou1okada/d/20160225%3a%20... - 2016年02月25日更新

Cygwin - wget

ror と言われてしまう。 =|| $ wget -O - https://google.com --2012-12-11 14:52:43-- https://google.com/ google.com (google.com) をDNSに問いあわせています... 74.125.235.229, 74.125.235.230, 74.125.235.231, ... google.com (google.com)|74.125.235.229|:443 に接続しています... 接続しました。 エラー…

https://seesaawiki.jp/w/kou1okada/d/Cygwin%20%2d%2... - 2014年02月15日更新

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(765) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(118) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(462) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(23) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(397) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(28) windows(126) windows10(50) wsl(26) zfs(32) 数式(21)

管理人/副管理人のみ編集できます