INNER CODE UNIT · Python
results
pluwen/awesome-testflight-link · scripts/batch_add_link.py:105
results = await asyncio.gather(*tasks)
# Load existing data
links_data = load_links()
if "_links" not in links_data:
links_data["_links"] = {}
added_count = 0
updated_count = 0
for key, status, app_name in results:
if key is None:
continue
# Fall back to a placeholder if the name could not be extracted.
if not app_name:
app_name = "Unknown"
print(f" [warn] Could not extract app name for {key}, using '{app_name}'")