for section in soup.findAll('h2'):
    nextNode = section
while True:
    nextNode = nextNode.nextSibling
try:
    tag_name = nextNode.name
except AttributeError:
    tag_name = ''
if tag_name == 'p':
    print(nextNode.string)
else:
    pass
Find next siblings until a certain one using beautifulsoup