update the sync
This commit is contained in:
parent
6b172b4fc0
commit
d46d322210
@ -39,8 +39,8 @@ def parse_table_data(file_path: str) -> List[Tuple[str, str]]:
|
||||
continue
|
||||
|
||||
# Match lines with: <id> <account> <ig_post_id> ...
|
||||
# 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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user