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.7.tar.gz (8.3 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.7-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.7.tar.gz
Algorithm Hash digest
SHA256 72cf3ab5521632a1e4117dfa2b66511b7b4ccb836392dfc151691910b982bcfa
MD5 1bd5a0fa39e8cd792f76f0e7369eb13a
BLAKE2b-256 a8c8aa5640ad40bf4824eac7a1c07ee6520e9d5c2a5de7e171432c29dcb86a56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5166365bee79e9d689b959764d1e1d1ecb68732393b5f498408abfa4a37385db
MD5 4c4de9f0eb29aec30bdc3de07a2f4d0a
BLAKE2b-256 23b719408c9145c3ba4a1c755c71b8433564087a5aa2fbb385318115dd2286c5

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