page_parser refactoring