def get_album_properties(album_section_soup, class_names):
    """Given a soup object album section and a list of class names, returns a dict
    of class name keys and 'getText()' strings"""
    property_dict = dict()
    for class_name in class_names:
        try:
            property_dict[class_name] = album_section_soup.find('div', {'class': class_name}).getText()
        except AttributeError:
            property_dict[class_name] = None
            print('warning: one thing failed')
    return property_dict