diff --git a/dot_zsh_functions b/dot_zsh_functions index 06a41d5..b86605a 100644 --- a/dot_zsh_functions +++ b/dot_zsh_functions @@ -84,16 +84,24 @@ function aboutpage() { year=$(curl -sSL "$*" | tr '<' '\r' | \egrep -i "date|datetime" -A 1 | \grep -Eo '\b[[:digit:]]{4}\b' | head -n1) fi author=$(curl -sSL "$*" | tr '<' '\r' | \egrep -i "author" -A 1 | \grep -Eo '([A-Z][A-Za-z]+\s([A-Za-z ]+)*)' | head -n1) + title=$(curl -sSL "$*" | tr '<' '<\n' | \grep title -A 1 | head -n1 | sed -E 's/.*