This adds a `captureRequests` flag to ExtractorChrome which is enabled by default and causes requests made by the browser to be captured via the devtools Network domain. Captured browser requests are sent to the disposition chain for WARC writing and also to statistics tracker and crawl log. Browser requests are given the annotation "browser" so they can be easily distinguished in the log from normal requests. There are a quite a few limitations that will be addressed in followup work: * The frontier is entirely unaware of browser requests. This means they bypass quotas, ignore scope rules, politeness and don't count towards the statistics tracked by the frontier itself. * There's no replay of previously saved resources so duplicate requests for the same URL end up being made. * Heritrix's extractors do not currently process browser requests. * Various error and failure cases likely need improving.
Heritrix
Introduction
Heritrix is the Internet Archive's open-source, extensible, web-scale, archival-quality web crawler project. Heritrix (sometimes spelled heretrix, or misspelled or missaid as heratrix/heritix/heretix/heratix) is an archaic word for heiress (woman who inherits). Since our crawler seeks to collect and preserve the digital artifacts of our culture for the benefit of future researchers and generations, this name seemed apt.
Crawl Operators!
Heritrix is designed to respect the robots.txt exclusion directives† and META nofollow tags. Please consider the
load your crawl will place on seed sites and set politeness policies accordingly. Also, always identify your crawl with contact information in the User-Agent so sites that may be adversely affected by your crawl can contact you or adapt their server behavior accordingly.
† The newer wildcard extension to robots.txt is not yet supported.
Getting Started
Developer Documentation
- Developer Manual
- REST API documentation
- JavaDoc: engine, modules, commons, contrib
Latest Releases
Information about releases can be found here.
License
Heritrix is free software; you can redistribute it and/or modify it under the terms of the Apache License, Version 2.0
Some individual source code files are subject to or offered under other licenses. See the included LICENSE.txt file for more information.
Heritrix is distributed with the libraries it depends upon. The libraries can be found under the lib directory in the release distribution, and are used under the terms of their respective licenses, which are included alongside the libraries in the lib directory.