support reading older WARC versions

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start with the reader code that rejects versions other than "WARC/1.0" and consult the WARC specifications for versions 1.0, 0.18, and 0.17. Determine whether older versions can be read directly or need a configuration option; done means the supported behavior is implemented and verified against representative older WARC files.

Written by the indexing model from the issue text.

Description

The reader code barfs on versions other than "WARC/1.0".

I have not seen anything on what are the differences between, say, 1.0, 0.18 and 0.17 (apart from the version stamp itself). If version 1.0 is otherwise equal to either or both of those, please allow reading them, or add a configuration variable that determines whether they are alllowed.

I could fork the code and add this feature, but I do not know of the differences. If someone can point me to spec on 1.0, I'd be happy to do it.

Dominant language
Python
Stars
251
Forks
114
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from internetarchive/warc

All issues in internetarchive/warc

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.