separate collect links and parse page