From 49a803c336900615c95bc4869038fbe4f3389121 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 10 Jan 2020 09:41:31 +0100 Subject: [PATCH] Adapt to new random0 page --- bash_quote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_quote b/bash_quote index b2bf6ae..e7a05cd 100755 --- a/bash_quote +++ b/bash_quote @@ -3,7 +3,7 @@ # Description: Get a quot from http://danstonchat.com if [ $(command -v lynx) ]; then - lynx --dump --display_charset=utf8 http://danstonchat.com/random.html | awk '$4~"commentaires" && $0!~"RSS" { getline; while ($4!~"#") { print $0; getline;}; exit}' + lynx --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~"Ajouter une quote.*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }' else printf '%b' "Please install lynx package.\n" fi