This is the command to pass credentials via curl:
curl -u username:password
http://website.com
Then you can grep to search the resulting text if you want to search for something on the webpage. For searching the full website, you'd use a search feature of that website, no?