To get contents of web page in a shell script variable we can use wget or curl like following

WGET

wHome=$(wget witr.net -q -O -)
echo $wHome

CURL

wHome=$(curl -L witr.net)
echo $wHome