(label, pat)
| 16980 | flat = s2.get_text("\n", strip=True) |
| 16981 | |
| 16982 | def _pick(label, pat): |
| 16983 | m = re.search(pat, flat, re.IGNORECASE | re.MULTILINE) |
| 16984 | if m: |
| 16985 | v = (m.group(1) or "").strip() |
| 16986 | return v if v and v != "-" else "" |
| 16987 | return "" |
| 16988 | |
| 16989 | tw_info = { |
| 16990 | "TWITTER ID": _pick("TWITTER ID", r"TWITTER ID\s*\n+([0-9]{3,})"), |
nothing calls this directly
no outgoing calls
no test coverage detected