I don't know why anyone would want to go through the mess that is BS api, but according to the docs, this should work:
Installed BS to test, and it turns out that doesn't work (for whatever reason), but all of these do:
soup.find_all('div', 'name')EDIT:
Installed BS to test, and it turns out that doesn't work (for whatever reason), but all of these do:
soup.find_all('div', {'name': True}) soup.find_all('div', {'name': re.compile('.*')}) soup.find_all('div', name_=lambda x: True)