braun-steven / arxiv-downloader

A command line interface to download PDF files from https://arxiv.org.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arxiv-downloader: The arXiv PDF Command-Line Interface Downloader

Python Version License AUR

Installation

arxiv-downloader is available via PyPi:

pip install arxiv-downloader

Arch User Repository

We also provide an AUR package:

paru -S arxiv-downloader

Examples

Download a PDF using a URL:

arxiv-downloader https://arxiv.org/pdf/2302.06544.pdf

Download a PDF using an ID:

arxiv-downloader 2302.06544

Download a PDF into a directory:

arxiv-downloader https://arxiv.org/pdf/2302.06544.pdf -d ./pdfs

Download a PDF and its source files (as .tar.gz archive):

arxiv-downloader https://arxiv.org/pdf/2302.06544.pdf -s

Usage

To see all available options, use the help command:

arxiv-downloader -h

This will display usage information similar to the following:

usage: arxiv-downloader [-h] [-d DIRECTORY] [-s] [url_or_id]

Download articles from arXiv.

positional arguments:
  url_or_id             The URL or ID of the arXiv article. (default: None)

options:
  -h, --help            show this help message and exit
  -d DIRECTORY, --directory DIRECTORY
                        The directory where the article will be downloaded. (default: ./)
  -s, --source          Also download the source files of the article. (default: False)

About

A command line interface to download PDF files from https://arxiv.org.

License:MIT License


Languages

Language:Python 100.0%