mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-27 16:15:52 +00:00
Fix for HER-2082
https://webarchive.jira.com/browse/HER-2082 WARCWriterProcessor.java Add last hop character and link context to outlinks in metadata records
This commit is contained in:
@@ -730,7 +730,7 @@ public class WARCWriterProcessor extends WriterPoolProcessor implements WARCWrit
|
||||
Collection<CrawlURI> links = curi.getOutLinks();
|
||||
if (links != null && links.size() > 0) {
|
||||
for (CrawlURI link: links) {
|
||||
r.addLabelValue("outlink", link.getURI());
|
||||
r.addLabelValue("outlink", link.getURI()+" "+link.getLastHop()+" "+link.getViaContext());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user