bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #49226] Add possibility to append to existing WARC file


From: Vijeth Aradhya
Subject: [Bug-wget] [bug #49226] Add possibility to append to existing WARC file
Date: Mon, 19 Dec 2016 21:44:06 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #1, bug #49226 (project wget):

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49226>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]