Skip to main content

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

Project description

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

Installation

arxiv-downloader is available via PyPi:

pip install 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arxiv-downloader-1.0.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

arxiv_downloader-1.0.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page