txt格式
wget https://www.rfc-editor.org/rfc/rfc编号.txt --no-check-certificate
$ wget https://www.rfc-editor.org/rfc/rfc1213.txt --no-check-certificate
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/home/ljl/.wget-hsts'. HSTS will be disabled.
--2022-05-27 17:16:49-- https://www.rfc-editor.org/rfc/rfc1213.txt
Resolving www.rfc-editor.org (www.rfc-editor.org)... 50.223.129.200, 2001:559:c4c7::106
Connecting to www.rfc-editor.org (www.rfc-editor.org)|50.223.129.200|:443... connected.
WARNING: cannot verify www.rfc-editor.org's certificate, issued by ‘CN=Starfield Secure Certificate Authority - G2,OU=http://certs.starfieldtech.com/repository/,O=Starfield Technologies\\, Inc.,L=Scottsdale,ST=Arizona,C=US’:
Self-signed certificate encountered.
HTTP request sent, awaiting response... 200 OK
Length: 142158 (139K) [text/plain]
Saving to: ‘rfc1213.txt’
rfc1213.txt 100%[============================================================================>] 138.83K 272KB/s in 0.5s
2022-05-27 17:16:51 (272 KB/s) - ‘rfc1213.txt’ saved [142158/142158]
pdf格式
wget https://www.rfc-editor.org/rfc/pdfrfc/rfc编号.txt.pdf --no-check-certificate
$ wget https://www.rfc-editor.org/rfc/pdfrfc/rfc1157.txt.pdf -O rfc1157.pdf --no-check-certificate
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/home/ljl/.wget-hsts'. HSTS will be disabled.
--2022-05-27 17:35:23-- https://www.rfc-editor.org/rfc/pdfrfc/rfc1157.txt.pdf
Resolving www.rfc-editor.org (www.rfc-editor.org)... 50.223.129.200, 2001:559:c4c7::106
Connecting to www.rfc-editor.org (www.rfc-editor.org)|50.223.129.200|:443... connected.
WARNING: cannot verify www.rfc-editor.org's certificate, issued by ‘CN=Starfield Secure Certificate Authority - G2,OU=http://certs.starfieldtech.com/repository/,O=Starfield Technologies\\, Inc.,L=Scottsdale,ST=Arizona,C=US’:
Self-signed certificate encountered.
HTTP request sent, awaiting response... 200 OK
Length: 41355 (40K) [application/pdf]
Saving to: ‘rfc1157.pdf’
rfc1157.pdf 100%[============================================================================>] 40.39K 134KB/s in 0.3s
2022-05-27 17:35:24 (134 KB/s) - ‘rfc1157.pdf’ saved [41355/41355]
参考链接:rfc-editor