ExtractorSVG parses SVG with the JDK's StAX parser and extracts hrefs from elements like <image>, <use> and <script> as embeds and from <a> as links, along with <?xml-stylesheet?>, url() in presentation attributes, <style>, <script>, animated hrefs and HTML in <foreignObject>. Like browsers it requires the SVG namespace, decides by the root element whether text/xml and application/xml responses are SVG, and keeps the links found before any XML error. It's added to the default profile before extractorHtml. ExtractorHTML and JerichoExtractorHTML now treat hrefs on those inline SVG elements as embeds rather than links, and extract url() from presentation attributes like fill. ExtractorCSS now ignores same-document references like url(#gradient). Fixes #796
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.
Documentation
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.