New danstonchat website
This commit is contained in:
parent
e19ea4e5c4
commit
98d3f756de
@ -3,7 +3,12 @@
|
|||||||
# Description: Get a quot from http://danstonchat.com
|
# Description: Get a quot from http://danstonchat.com
|
||||||
|
|
||||||
if [ $(command -v lynx) ]; then
|
if [ $(command -v lynx) ]; then
|
||||||
lynx -connect_timeout=2 --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~".*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }'
|
|
||||||
|
#lynx -connect_timeout=2 --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~".*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }'
|
||||||
|
|
||||||
|
# 2024/09/26 New danstonchat website
|
||||||
|
lynx -connect_timeout=2 --dump --display_charset=utf8 https://danstonchat.com/random | awk '$0~"^\\[" && $0!~"Le|Error happened." { getline; while ($0!~"Le|Error happened.") { print $0 ; getline ; }; exit }'
|
||||||
|
|
||||||
else
|
else
|
||||||
printf '%b' "Please install lynx package.\n"
|
printf '%b' "Please install lynx package.\n"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user