summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtmw-info.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmw-info.sh b/tmw-info.sh
index a9dcfa2..3351c73 100755
--- a/tmw-info.sh
+++ b/tmw-info.sh
@@ -99,7 +99,7 @@ mkdir -p "$TMW_INFO"
if [ "$1" == "help" ] || [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
help
elif [ "$1" == "news" ]; then
- curl -s 'https://themanaworld.github.io/tmwa-server-data/news.html' | sed 's/<\/*[^>]*>//g' | less
+ wget -q 'https://themanaworld.github.io/tmwa-server-data/news.html' | sed 's/<\/*[^>]*>//g' | less
elif [ "$1" == "online" ]; then
#wget -q 'https://server.themanaworld.org/' | sed 's/<\/*[^>]*>//g' | sed -r '/^\s*$/d' | sed -r '/^\s*Name\s*$/d' | sed 1d
wget -q 'https://server.themanaworld.org/' | sed 's/<\/*[^>]*>//g' | sed -r '/^\s*$/d' | sed -r '/^\s*Name\s*$/d' | grep -v 'Online Players' | sed 1d | LC_ALL=C sort