

def _get_next_page(self, soup, current_page):
    '\n        Get the relative url of the next page (The "More" link at\n        the bottom of the page)\n        '
    if (current_page == 1):
        table = soup.findChildren('table')[3]
    elif (current_page > 1):
        table = soup.findChildren('table')[2]
    anchor = self.findChildren(['tr'])[(- 1)].find('a')
    if (anchor and (anchor.text == 'More')):
        return anchor.get('href').lstrip(BASE_URL)
    else:
        return None

dataset/ETHPy150Open karan/HackerNewsAPI/hn/hn.py Story._get_next_page/VarMisuse@62/124 `table`->`self`