def tsd_section_name(pagename):
    articlename = pagename.split('/')[1]
    sectionname_new = ''
    if ('ДО' in pagename.split('/')):
        sectionname_new = articlename
    elif articlename.endswith((' 1', ' 2', ' 3', ' 4')):
        sectionname_new = (articlename + '-1')
    else:
        sectionname_new = (articlename + '1')
    return sectionname_new
def tsd_section_name(pagename):
    articlename = pagename.split('/')[1]
    sectionname_new = 
    if ('ДО' in pagename.split('/')):
        sectionname_new = articlename
    elif articlename.endswith((' 1', ' 2', ' 3', ' 4')):
        sectionname_new = (articlename + '-1')
    else:
        sectionname_new = (articlename + '1')
    return sectionname_new