bugGNU Wget - Bugs: bug #49226, Add possibility to append to...

 
 

bug #49226: Add possibility to append to existing WARC file

Submitter:  None
Submitted:  Thu 29 Sep 2016 07:40:36 PM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  sirex Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  None
Operating System:  None Reproducibility:  None
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 19 Dec 2016 09:44:05 PM UTC, comment #1: 

I'm new to the wget community, and I'm starting to contribute and would like to work on this bug, so here are a few things I understand -

As of I can see in warc_start_new_file(bool meta) function in warc.c,

--> existing warc_current_file is closed.

--> warc_current_file_number is incremented.

--> a NEW warc file (with wb+ rights) is created to which warcinfo_record is added with all the headers and other relevant things.

Instead of this, (Possible solutio?)

--> open the warc_current_file with a rights ( append ) ?

--> OR just don't close it, and keep the file pointer ?

My doubt is I think there will be multiple WARC files, each of them having headers and other stuff same except the metadata.

Will it actually get overwritten? That's why the above function is there right? ( to open a NEW file, not to overwrite it? )

Thank you so much for your patience!
Vijeth

Vijeth Aradhya <varadhya>
Thu 29 Sep 2016 07:40:36 PM UTC, original submission:  

Currently wget always overwrites WARC file even if one already exists.

It would be great if wget could append to existing WARC file instead of overwriting it.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by varadhya (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code