Refactor crawlPage with extracting function.
Modify CakeFile and package.json.