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

app archive-pdf-urls

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

5 unstable releases

0.4.1 Jun 17, 2024
0.4.0 Jun 17, 2024
0.3.1 May 31, 2024
0.3.0 Mar 27, 2024
0.2.0 Mar 27, 2024

#498 in Text processing

Download history 98/week @ 2024-03-28 10/week @ 2024-04-04 5/week @ 2024-05-02 1/week @ 2024-05-23 136/week @ 2024-05-30 12/week @ 2024-06-06 251/week @ 2024-06-13 49/week @ 2024-06-20

68 downloads per month

Apache-2.0

47KB
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

~23–37MB
~533K SLoC