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
- Place your CSV file in the appropriate directory.
- Update the
src/main.pyfile to specify the path to your CSV file. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file internet_archive_extractor-0.0.6.tar.gz.
File metadata
- Download URL: internet_archive_extractor-0.0.6.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24cc335d3e4ee54a0d6ce5295bc4c466c3c4c99523d4e5819956c01dd56fc8a7
|
|
| MD5 |
06d6844d2f111b31ca415faf8636fed8
|
|
| BLAKE2b-256 |
0fd141bfa196dc116ca65bc1ce784639c7d2ae584f962b2a5d54f5cd15efdeb3
|
File details
Details for the file internet_archive_extractor-0.0.6-py3-none-any.whl.
File metadata
- Download URL: internet_archive_extractor-0.0.6-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f3e3cdcc8fd4aa0007067636a8122156f0d75347e075be34a821d8f5f4babaf
|
|
| MD5 |
d55dec925789b5585d25cd1e80511614
|
|
| BLAKE2b-256 |
faf5e496a2692506061a157db4400dc5c6d1e184e93e88fef6f8b551cc815fd2
|