This commit is contained in:
2025-09-22 07:19:26 +02:00
parent 4a7e1039a9
commit 2d7204a9c0
5 changed files with 223 additions and 1 deletions

View File

@@ -241,7 +241,8 @@ def main():
context = browser.new_context(storage_state=STATE_FILE)
# 1) Collect all IDs from the listing (all pages)
all_ids = collect_all_patient_ids(context)
# all_ids = collect_all_patient_ids(context)
all_ids=db_existing_ids(conn)
# 2) Iterate and store HTML (skip existing)
todo = [pid for pid in sorted(all_ids) if pid not in already]