Skip to content

Commit 6d730c8

Browse files
authored
ignore FB
1 parent 54d18d6 commit 6d730c8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@
141141
# -- Extension configuration -------------------------------------------------
142142

143143
linkcheck_ignore = [
144-
r"http://127\.0\.0\.1:\d+", # localhost
145-
r"https://docs\.google\.com/.+", # links to private documents
146-
r"https://twitter\.com/.+", # crawling/DDoS protection
147-
r"https://(www\.)?buffer\.com.*", # crawling/DDoS protection
148-
r"https://www\.nytimes\.com/.*", # crawling/DDoS protection
144+
r"https?://127\.0\.0\.1:\d+", # localhost
145+
r"https://docs\.google\.com.*", # links to private documents
146+
r"https://(www\.)?(twitter|x|facebook|buffer|nytimes)\.com.*", # crawling/DDoS protection
149147
r"https://cz\.pycon\.org/\d+/.+", # see https://pyvec.slack.com/archives/C4PPZNPDK/p1617716799001200
150148
r"https://github\.com/[^/]+/[^/]+/commits/.+", # GitHub aggressively rate-limits these
151149
]

0 commit comments

Comments
 (0)