bs4.PageElement.find_parents

PageElement.find_parents(name=None, attrs={}, limit=None, **kwargs)[source]

Returns the parents of this Tag that match the given criteria.