aboutsummaryrefslogtreecommitdiffstats
path: root/sega/ongeki_jp.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-04-25 00:17:01 -0700
committerPinapelz <yukais@pinapelz.com>2025-04-25 00:17:01 -0700
commit4b0998b4afa48f9e2968b1bb76ef42bc6a94e1b6 (patch)
tree9b9c99ad7458f1e79dfcac0ddc9a8ca6fc483495 /sega/ongeki_jp.py
parent5344e17f9c626b1f0464e8c90c6269b2c0587c74 (diff)
add is_ai_summary key to all new_data
Diffstat (limited to 'sega/ongeki_jp.py')
-rw-r--r--sega/ongeki_jp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sega/ongeki_jp.py b/sega/ongeki_jp.py
index a2a05fb..7c45281 100644
--- a/sega/ongeki_jp.py
+++ b/sega/ongeki_jp.py
@@ -24,9 +24,6 @@ def make_ongeki_parser(identifier: str, parser: ParserVersion):
date_text = date_type_text.text.strip().split("/")[0].strip() if date_type_text else None
type_text = date_type_text.text.strip().split("/")[-1].strip() if "/" in date_type_text.text else None
- headline_tag = li.select_one(".p-news__listTextUnder")
- headline = headline_tag.text.strip() if headline_tag else None
-
timestamp = None
if date_text:
try:
@@ -43,6 +40,7 @@ def make_ongeki_parser(identifier: str, parser: ParserVersion):
"headline": None,
"content": image_alt,
"url": url,
+ 'is_ai_summary': False,
"images": [{
"image": image_url,
"link": image_link
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage