Skip to main content

Download paper from arXiv

Project description

arXiv-dl

Command-line arXiv.org Papers Downloader

Installation

  • Require Python 3.x
$ pip install --upgrade arxiv-dl

Configuration

Set Custom Download Destination Folder (Optional)

  • Let's say you want your papers get downloaded into ~/Documents/Papers.
  • Make sure the folder ~/Documents/Papers exists.
  • Set the environment variable ARXIV_DOWNLOAD_FOLDER to your desired location.
    $ export ARXIV_DOWNLOAD_FOLDER=~/Documents/Papers
    
  • If the environment variable is not set, paper will be downloaded into the default Download Destination ~/Downloads/ArXiv_Papers.

Usage

Type in command line:

$ add-paper "URL"

or

$ dl-paper "URL"

Usage Example:

$ add-paper https://arxiv.org/abs/1512.03385

Features

Commands

add-paper will do

  • Download paper named [id]_[title].pdf into destination folder.
  • Maintain a papers list named 000_Paper_List.json in the destination folder.
  • Extract paper metadata, like title, authors, abstract, bibtex, code, and write them into a new MarkDown document named [id]_Notes.md in the destination folder.

dl-paper will do

  • Download paper [id]_[title].pdf into destination folder.

Supported URLs

  • URLs from arXiv.org Only
    • Paper's abstract page https://arxiv.org/abs/xxxx.xxxxx
    • or Paper's PDF page https://arxiv.org/pdf/xxxx.xxxxx.pdf

License

MIT License - Copyright (c) 2021 Mark Huang

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-dl-0.0.5.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arxiv_dl-0.0.5-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file arxiv-dl-0.0.5.tar.gz.

File metadata

  • Download URL: arxiv-dl-0.0.5.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for arxiv-dl-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8091a6744f1c18bdb13fe9dcdd2c032299c332c349bac846fc8fdb18d732f865
MD5 285729d5af56df8d28726fc602974799
BLAKE2b-256 3b4f5ac8565cccb984605478336250059669058e1591b437a56e77f7bac41e05

See more details on using hashes here.

File details

Details for the file arxiv_dl-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: arxiv_dl-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for arxiv_dl-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 151400d2c861951182de588ea1f85bf70dfab782b854c10d8dc8354caba70daf
MD5 f767c6181b044260ce3c97c57912d7f0
BLAKE2b-256 3783a71800162a0839ac2340f625df04a0d780f44d37a74df2a546e6ed4ebab0

See more details on using hashes here.

Supported by

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