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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5c9352f87b14f0e74fcf162afef769a76bdf1a3f7382448778e53289d47e9436
MD5 dc0462b093479f1742e75078e24504f7
BLAKE2b-256 7ff7a4d6c3cd0c791ed6b2c63df1a8e8267d527d274b6d272eca26ee0fbdd548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for internet_archive_extractor-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 79c9665f062e217edec82e78236f7035f4443ae166c39538a2951f94fdf4b5d5
MD5 f3c67fab59abfa65840cce6c057c4a60
BLAKE2b-256 ea3ca275feb4a6d2d880074641da2e8943897a2e4b35118727694d871eb85d8c

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