We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d303cf4 commit d3e6276Copy full SHA for d3e6276
1 file changed
check-links.py
@@ -11,8 +11,8 @@
11
status_codes = [pdfx.downloader.get_status_code(ref.ref) for ref in refs]
12
13
broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200]
14
-# It seems that Twitter and stackoverflow do not respond well to the link checker and throws a 400
15
-broken_links = [b for b in broken_links if not ('twitter.com' in b[0] or 'stackoverflow.com' in b[0])]
+# It seems that stackoverflow does not respond well to the link checker and throws a 400
+broken_links = [b for b in broken_links if not 'stackoverflow.com' in b[0]]
16
17
if len(broken_links) == 0:
18
sys.exit(0)
0 commit comments