From d46d3222100638c1bf1a9cc839527be7ae6d7498 Mon Sep 17 00:00:00 2001 From: Hossein Date: Mon, 11 Aug 2025 23:38:53 +0330 Subject: [PATCH] update the sync --- sync_seen_from_table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync_seen_from_table.py b/sync_seen_from_table.py index a287ab5..b3be164 100644 --- a/sync_seen_from_table.py +++ b/sync_seen_from_table.py @@ -39,8 +39,8 @@ def parse_table_data(file_path: str) -> List[Tuple[str, str]]: continue # Match lines with: ... - # Pattern: whitespace + number + whitespace + account + whitespace + ig_post_id (with optional suffix) - m = re.search(r"\s*(\d+)\s+([A-Za-z0-9._]+)\s+(\d+)(?:_\d+)?\s", line) + # Pattern: whitespace/tabs + number + whitespace/tabs + account + whitespace/tabs + ig_post_id (with optional suffix) + m = re.search(r"\s*(\d+)\s+([A-Za-z0-9._]+)\s+(\d+)(?:_\d+)?", line) if m: _, account, ig_id = m.groups() rows.append((account, ig_id))