Skip to content

Commit bb97411

Browse files
committed
Added an url to skip (from an uploaded html agenda).
- Legacy-Id: 12400
1 parent 05379e2 commit bb97411

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bin/test-crawl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,17 @@ def check_html_valid(url, response, args):
189189
(pos, code))
190190
warnings += 1
191191

192+
@debug.trace
192193
def skip_url(url):
194+
debug.show('url')
193195
for pattern in (
194196
"^/community/[0-9]+/remove_document/",
195197
"^/community/personal/",
196198
# Skip most of the slow pdf composite generation urls and svg urls
197199
"^/meeting/[0-9]+/agenda/[0-9b-z].*-drafts\\.pdf",
198200
"^/wg/[a-z0-9-]+/deps/svg/",
201+
# This bad url occurs in an uploaded html agenda:
202+
r"/site/ietfdhcwg/_/rsrc/1311005436000/system/app/css/overlay.css\?cb=simple100%250150goog-ws-left",
199203
):
200204
if re.search(pattern, url):
201205
return True

0 commit comments

Comments
 (0)