implement the core function : get the dynamic webpage