aboutsummaryrefslogtreecommitdiff
path: root/playwright-py/examples/broken_links.py
diff options
context:
space:
mode:
Diffstat (limited to 'playwright-py/examples/broken_links.py')
-rw-r--r--playwright-py/examples/broken_links.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/playwright-py/examples/broken_links.py b/playwright-py/examples/broken_links.py
index c78520f..a292f74 100644
--- a/playwright-py/examples/broken_links.py
+++ b/playwright-py/examples/broken_links.py
@@ -41,13 +41,13 @@ def main() -> int:
status = resp.status
if status < 400:
ok += 1
- print(f"✓ {status} {url}")
+ print(f"[ok] {status} {url}")
else:
bad += 1
- print(f"✗ {status} {url}")
+ print(f"[fail] {status} {url}")
except Exception as ex:
err += 1
- print(f"✗ ERR {url} ({type(ex).__name__}: {ex})")
+ print(f"[fail] ERR {url} ({type(ex).__name__}: {ex})")
print(f"\n{ok} ok, {bad} broken, {err} errored out of {len(urls)} total")
browser.close()