add get-webpagecontent function