Skip to main content

Tool for extracting archived web sites from the Internet Archive saving as WARC files.

Project description

The project currently only supports converting output from Bitdruids WaybackUp program to be converted to WARC files.

WaybackupToWarc

This project is designed to read a CSV file containing URLs, remove any instances of port 80 from those URLs, and generate WARC-GZ files based on the cleaned data. The CSV file can be constructed by using the following tool: Python Wayback Machine Downloader

Project Structure

WaybackupToWarc
├── src
│   ├── main.py        # Main script for processing CSV and generating WARC files
│   └── utils.py       # Utility functions for reading CSV and modifying URLs
├── requirements.txt    # List of dependencies for the project
└── README.md           # Documentation for the project

Requirements

To run this project, you need to install the following dependencies:

  • warcio: For creating WARC files.
  • pandas: For handling CSV data.

You can install the required packages using pip:

pip install -r requirements.txt

Usage

  1. Place your CSV file in the appropriate directory.
  2. Update the src/main.py file to specify the path to your CSV file.
  3. Run the main script:
python src/main.py

This will process the CSV file, remove port 80 from the URLs, and generate the corresponding WARC-GZ files.

Contributing

Feel free to submit issues or pull requests if you have suggestions or improvements for the project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

internet_archive_extractor-0.0.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

internet_archive_extractor-0.0.3-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file internet_archive_extractor-0.0.3.tar.gz.

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3dba210c56a2740478f3f5cade2253fa747895742dce23210ebff9e2daa92059
MD5 475750879fe0a977991cde552b1fe3aa
BLAKE2b-256 927c470109843e40c1834778c4fc39e3ea482d950706d202cd9758801986f17e

See more details on using hashes here.

File details

Details for the file internet_archive_extractor-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c1a04f9322f6c5730f0fd2f86796d9477e5b983949d09d88fa6e95913c9fc7f2
MD5 6490725b348c19cfe353b1bdd759c081
BLAKE2b-256 22e9edda7f01d8a139388eaf7ea38a4c02f682c35895cf9e6e3aac018f4cc80c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page