diff --git a/xkcdlock b/xkcdlock index 1bc0dec..0f81144 100755 --- a/xkcdlock +++ b/xkcdlock @@ -213,7 +213,7 @@ xkcd_get_hotlink_url() { xkcd_get_img_tooltip() { local url url="https://xkcd.com/$1" - curl -sL "$url" | grep -A 1 '
' | awk -F "\"" '/src=/ {print $4}' | recode html..UTF8 + curl -sL https://xkcd.com/255 | grep '{{title text:' | awk -F'[:}]' '{ print $2 }' | recode html..UTF8 } xkcd_format_tooltip() {