def METHOD_NAME(self):
    try:
        next_urls = self.next_page_selector.match(self.root)
    except SelectorError:
        return
    if len(set(next_urls)) > 1:
        raise PaginationError(
            f"get_next_source returned multiple links: {next_urls}"
        )
    return next_urls[0]