commit: fix nits, update mcclatchy https

This commit is contained in:
Alec Muffett 2018-07-10 09:18:46 +01:00
parent e5f95b51e0
commit f8cf2591c6
2 changed files with 15 additions and 8 deletions

View File

@ -558,7 +558,7 @@ Connectivity was last checked at: **2018-07-10T07:34:56Z**
* http://zafull3et6muayeh.onion/
* 2018-07-10T07:33:40Z :thumbsup:
* http://www.mcclatchydc.com/customer-service/contact-us/ :no_entry_sign: Not HTTPS
* https://www.mcclatchydc.com/customer-service/contact-us/
## Meduza

View File

@ -5,13 +5,20 @@ while read category onion_address proof_url title ; do
echo oops: bad category $category for $onion_address
exit 1
fi
existing=`echo directory/*/$onion_address` # bueller?
test -d "$existing" && continue
where="directory/$category/$onion_address"
mkdir -p $where || exit 1
echo $title > $where/title
echo http://$onion_address/ > $where/urls
echo $proof_url > $where/proof
for existing in `echo directory/*/$onion_address` ; do
if [ -d "$existing" ] ; then
echo onion exists at $existing for $title
continue
fi
done
dir="directory/$category/$onion_address"
mkdir -p $dir || exit 1
echo $title >$dir/title
echo $proof_url >$dir/proof
echo http://$onion_address/ >$dir/urls # add more by hand, later
done <<EOF
securedrop-for-organisations lzpczap7l3zxu7zv.onion https://www.icij.org/securedrop ICIJ / International Consortium of Investigative Journalists
EOF