def get_digitalization_links(newrecord):
    """
    Given a marc record, just return all links (from 856.u).
    """
    for field_856 in newrecord.get_fields('856'):
        is_digitalization = False
        for x in field_856.get_subfields('x'):
            if 'Digitalization' == x:
                is_digitalization = True
        if not is_digitalization:
            for z in field_856.get_subfields('z'):
                if 'digit' in z or 'Digit' in z and not ('Bach digital' in
                    z or 'Bach Digital' in z):
                    is_digitalization = True
                elif 'exemplar' in z or 'Exemplar' in z:
                    is_digitalization = True
        if is_digitalization:
            for url in field_856.get_subfields('u'):
                yield url
