bs4.BeautifulSoup.findNextSiblings

BeautifulSoup.findNextSiblings(name=None, attrs={}, text=None, limit=None, **kwargs)

Returns the siblings of this Tag that match the given criteria and appear after this Tag in the document.