function to find article pub date from webpages

This commit is contained in:
Morgan Wattiez 2019-08-04 14:34:51 +02:00
parent d1a226db48
commit d4a026b397

View File

@ -77,3 +77,6 @@ function istherenewissues() {
fi fi
echo "$LASTISSUE" > .newjiraissue echo "$LASTISSUE" > .newjiraissue
} }
function greppagedate() {
curl -sSL "$*" | \grep datetime | \grep -Eo '[[:digit:]]{4}' | head -n1
}