diff options
Diffstat (limited to 'sega/chuni_jp.py')
| -rw-r--r-- | sega/chuni_jp.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sega/chuni_jp.py b/sega/chuni_jp.py index 20743ed..bdbe800 100644 --- a/sega/chuni_jp.py +++ b/sega/chuni_jp.py @@ -39,13 +39,7 @@ def parse_chuni_jp_verse_news_site(html: str): headline = None content_text = "" if main_content: - img_tag = main_content.find("img") - if img_tag and img_tag.get("alt"): - headline = img_tag.get("alt") - else: - headline = main_content.get_text(separator=" ", strip=True) content_text = main_content.get_text(separator=" ", strip=True) - news_dict["headline"] = headline news_dict["content"] = content_text images = {"image": None, "link": None} if main_content: |
