def read_local_html(blog_folder, blog_num):
    filename = (((blog_folder + 'kd_blog') + str(blog_num).zfill(4)) + '.html')
    f = codecs.open(filename, 'r', 'utf-8')
    soup = BeautifulSoup(f.read(), 'html.parser')
    return soup
def read_local_html(blog_folder, blog_num):
    filename = (((blog_folder + 'kd_blog') + str(blog_num).zfill(4)) + '.html')
    f = codecs.open(filename, 'r', 'utf-8')
    soup = BeautifulSoup(f.read(), 'html.parser')
    return soup