|
|
@@ -7,6 +7,7 @@ from typing import Any
|
|
|
|
|
|
from app.hot_content.client import JsonApiClient
|
|
|
from app.hot_content.demand_export import get_wxindex_keywords
|
|
|
+from app.hot_content.exceptions import HotContentFlowError
|
|
|
from app.hot_content.repository import HotContentRepository
|
|
|
from app.hot_content.timezone import SHANGHAI_TZ
|
|
|
|
|
|
@@ -599,7 +600,7 @@ def backfill_wxindex_word_meta(
|
|
|
include_expired=include_expired,
|
|
|
dry_run=dry_run,
|
|
|
)
|
|
|
- if reason in {"registered", "dry_run"}:
|
|
|
+ if reason in {"registered", "dry_run", "updated"}:
|
|
|
register_summary["registered"] += 1
|
|
|
if verbose:
|
|
|
label = "[dry-run] would register" if dry_run else "registered"
|