-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'd like to automate Cookies detection and GDPR compliance evaluation (record-keeping, eg. 13 month for Cookies in France).
I'd like to get back informations about cookies and cookies record-keeping policies on the targeted website. It's easy to do that using bash (I've already written something that way), so I'd like to see it in this tool, maybe by contributing...
Eg. using bash:
FILE=/path/to/cookies/file
wget --save-cookies $FILE [URL]
MONTH13=34164000 # nb of seconds in 13 month
for epoch in `cat $FILE | grep -v '^#' | grep -v '^$' | cut -d" " -f5`
do
if [ $epoch -gt `echo \`date +%s\` + $MONTH13 | bc` ]
then
DATE=`date --date=@$epoch`
echo "- KO: $DATE"
continue;
fi
echo -n "- OK: "
date --date=@$epoch
doneMetadata
Metadata
Assignees
Labels
No labels