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
|
continue
|
||||||
|
|
||||||
# Match lines with: <id> <account> <ig_post_id> ...
|
# Match lines with: <id> <account> <ig_post_id> ...
|
||||||
# Pattern: whitespace + number + whitespace + account + whitespace + ig_post_id (with optional suffix)
|
# 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+)?\s", line)
|
m = re.search(r"\s*(\d+)\s+([A-Za-z0-9._]+)\s+(\d+)(?:_\d+)?", line)
|
||||||
if m:
|
if m:
|
||||||
_, account, ig_id = m.groups()
|
_, account, ig_id = m.groups()
|
||||||
rows.append((account, ig_id))
|
rows.append((account, ig_id))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user