Skip to content

Commit fe7b65e

Browse files
Fix output file by writing revisit records properly.
1 parent 537f53c commit fe7b65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/bibalex/warcrefs/Deduplicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private void writeRevisitRecord( FileInputStream fis, FileOutputStream fos,
200200
httpHeaderStr += String.format( "%s: %s\n", hl.name, hl.value );
201201

202202
// warc header
203-
WarcWriter ww = WarcWriterFactory.getWriter( fos, false );
203+
WarcWriter ww = WarcWriterFactory.getWriter( fos, true );
204204
WarcRecord warcHeader = WarcRecord.createRecord( ww );
205205

206206
warcHeader.header.warcTypeStr = "revisit";

0 commit comments

Comments
 (0)