def get_next_div(self):
    found = False
    while (not found):
        self.soup_ptr = self.soup_ptr.find_next_sibling('div', class_='basic')
        if (self.soup_ptr.find('table') is not None):
            found = True
    return self.soup_ptr
def get_next_div(self):
    found = False
    while (not found):
        self.soup_ptr = self.soup_ptr.find_next_sibling('div', class_='basic')
        if (self.soup_ptr.find('table') is not None):
            found = True
    return self.soup_ptr