#links #archive #pdf #url #pdf-file #extract #machine

app archive-pdf-urls

Extract all links from a PDF and archive the URLs in the Internet Archive's Wayback Machine

6 releases

0.4.2 Aug 8, 2024
0.4.1 Jun 17, 2024
0.3.1 May 31, 2024
0.3.0 Mar 27, 2024
0.2.0 Mar 27, 2024

#676 in Compression

Apache-2.0

48KB
590 lines

Archive PDF URLs

This command-line tool extracts URLs from a PDF file and archives them using the Wayback Machine.

Build status Crates.io

Installation

You can build and install the tool using Cargo:

cargo install archive-pdf-urls

Usage

The tool reads URLs from standard input, one URL per line, and archives them using the Wayback Machine.

Example usage:

archive-pdf-urls file.pdf --exclude https://some.pattern/\*

Docker usage

docker run --rm -v ./file.pdf:/file.pdf ghcr.io/thoth-pub/archive-pdf-urls file.pdf

Dependencies

~24–38MB
~521K SLoC