The webpage is something like this:
section1 article article article
article
The next_siblings iterator can be helpful here as well:
for i in soup.find_all('h2'): for sib in i.next_siblings: if sib.name == 'p': print(sib.text) elif sib.name == 'h2': print ("*****") break