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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for arxiv_downloader-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38c60dfe0fe9feb3a250d44fa532f4badca6b32eb3533323c575e3ecbd2a5c4 |
|
MD5 | 5f36f7dd3f2f06857e67f9e48d57e261 |
|
BLAKE2b-256 | 5dfc9fef36dc6b9efb91cc3b8275259ffb25ee7cff7c9e6662eb3ad768a810c4 |