warc3-wet-clueweb09 0.2.5


pip install warc3-wet-clueweb09

  Latest version

Released: Dec 07, 2020

Project Links

Meta
Author: Anand Chitipothu, Noufal Ibrahim, Ryan Chartier, Jan Pieter Bruins Slot, Almer S. Tigelaar, Willian Zhang

Classifiers

Development Status
  • 4 - Beta

Environment
  • Web Environment

Intended Audience
  • Developers

License
  • OSI Approved :: GNU General Public License v2 (GPLv2)

Operating System
  • OS Independent

Programming Language
  • Python

Note: This is a fork of the original (now dead) warc repository.

Updated to handle problems with the ClueWeb09 files.

Changes are based on this repository (which only supports python2)

WARC (Web ARChive) is a file format for storing web crawls.

http://bibnum.bnf.fr/WARC/

This warc library makes it very easy to work with WARC files.:

import warc
with warc.open("test.warc") as f:
    for record in f:
        print(record['WARC-Target-URI'], record['Content-Length'])

And WET files.:

import warc
with warc.open("test.warc.wet") as f:
    for record in f:
        print(record['WARC-Target-URI'], record['Content-Length'])

Documentation

The documentation of the warc library is available at http://warc.readthedocs.org/.

Apart from the install from pip, which will not work for this warc3 version, the interface as described there is unchanged.

License

This software is licensed under GPL v2. See LICENSE file for details.

Authors

Original Python2 Versions:

  • Anand Chitipothu

  • Noufal Ibrahim

Python3 Port:

  • Ryan Chartier

  • Jan Pieter Bruins Slot

  • Almer S. Tigelaar

Modification * Willian Zhang

Change Log

0.2.5 replace utf8 errors in headers

0.2.4 support ClueWeb09

0.2.3 Support seeking in WARC/WET

0.2.2 Allow WET parse

older… see https://github.com/internetarchive/warc

No dependencies