(text_blob, regex)
| 16715 | base_img = base.get("icon", "") |
| 16716 | |
| 16717 | def _safe_pick(text_blob, regex): |
| 16718 | m = re.search(regex, text_blob, flags=re.IGNORECASE | re.MULTILINE) |
| 16719 | if m: |
| 16720 | v = (m.group(1) or "").strip() |
| 16721 | return v if v and v != "-" else "" |
| 16722 | return "" |
| 16723 | |
| 16724 | try: |
| 16725 | with sync_playwright() as p: |
nothing calls this directly
no outgoing calls
no test coverage detected