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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.1.tar.gz
Algorithm Hash digest
SHA256 83ceefb2eb63a1115117f6d9431524f4eefa97e17130f72b40dc17a551e83253
MD5 50f9e2ed0c2c5aca461b3c23ee1d0f08
BLAKE2b-256 ce9603e62ff90b8d7b8cb0f3133e38d7d2cffb89c806e0d866986438cb0493ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba1e00e02aa1b91c1e36e29cac73ba2f2aa8815020e0cf8302f363ef13734b3e
MD5 048f77234a63b8a443ce8ebc2347e719
BLAKE2b-256 eeb0aed5b3e5840509818c1959b5acb605684c9319866a5e75079da8f4b7749d

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