def parse_page_link_headers(links_str):<EOL>
links = parse_links_header(links_str)<EOL>return {<EOL>name: int(re.search(r'<STR_LIT>', url).group(<NUM_LIT:1>))<EOL>for name, url in viewitems(links)<EOL>}<EOL>
Parse the link http header and get the page position from the links

    :param links_str: link http header
    :type links_str: str
    :return: dictionary where key is the link name and value is the page number
    :rtype: dict[str, int]