2 ms·
To read the comments submitted so far seq -f "GET /v4/comments/FTC-2022-0053-%04g?include=attachments HTTP/1.1@ h1@ h3@ h2@ h4@" 1 108 \ |sed ' s/
by 1vuio0pswjnm7 4y ago
To read the comments submitted so far
seq -f "GET /v4/comments/FTC-2022-0053-%04g?include=attachments HTTP/1.1@ h1@ h3@ h2@ h4@" 1 108 \
|sed '
s/ h1/Host: api.regulations.gov/;
s/ h2/X-Api-Key: 5F20SbTVakeYfU9i5gX1dxx96sw4KELUQxAHhcHa/;
s> h3>Referer: https://www.regulations.gov/>;
$!s/ h4/Connection: keep-alive/;
$s/ h4/Connection: close/;
' \
|tr @@ '\15\12' \
|openssl s_client -connect 52.61.16.12:443 -ign_eof > 1.json
sed -n '/\"comment\" : \"/{s/ *//;s/.*/<br>&<hr>/p;}' 1.json > 1.htm
firefox ./1.htm
links 1.htm
As I type this there are 107 comments. Hence "108" above.