1 parent f789fdc commit d7505d6Copy full SHA for d7505d6
1 file changed
app/portable.py
@@ -689,6 +689,15 @@ def process_html_document(html_content, original_url):
689
"attention required",
690
"enable javascript and cookies to continue",
691
"please verify you are a human",
692
+ # Imperva / Incapsula block pages (e.g. bizjournals.com). These are also
693
+ # captured by archive.org, so an archived snapshot can silently be a block
694
+ # page rather than the article — detect it and fall through to an error.
695
+ "_incapsula_resource",
696
+ "incapsula incident",
697
+ "request unsuccessful",
698
+ # DataDome block pages (e.g. nytimes.com, ft.com, wsj.com).
699
+ "datadome",
700
+ "enable js and disable any ad blocker",
701
]
702
703
0 commit comments