count_img = 0
urls = []
for img in soup.find('div', class_='w-post-elm post_content').find_all('img'):
img_url = img.attrs.get("src")
urls.append(img_url)
for image in urls:
wget.download(image, f'./image/{katalog_file_name1}_{count_img}.jpg')
if count_img == 0:
plan1_file_name.append(f'{katalog_file_name1}_{count_img}')
if count_img == 1:
plan2_file_name.append(f'{katalog_file_name1}_{count_img}')
count_img += 1
if len(urls) == 1:
plan2_file_name.append('')
plan3_file_name.append('')