#archive #url #pdf #extract #wayback #machine #links

app archive-pdf-urls

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

2 unstable releases

0.3.0 Mar 27, 2024
0.2.0 Mar 27, 2024

#240 in Text processing

Download history 203/week @ 2024-03-26 24/week @ 2024-04-02

227 downloads per month

Apache-2.0

45KB
559 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–39MB
~557K SLoC