Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to download tarballs? #2

Open
MilesCranmer opened this issue Jan 18, 2023 · 1 comment
Open

Option to download tarballs? #2

MilesCranmer opened this issue Jan 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@MilesCranmer
Copy link

Hi,
I was wondering if it would be possible to add an option to download tarballs for a given arXiv code?

e.g.,

getpaper [-h] [-v] [-p] [-s] [-d DOWNLOAD_DIR] [-n N_THREADS] urls [urls ...]

where the new flag -s would request that it download the source tarball (i.e., https://arxiv.org/e-print/{url}), then add a .tar.gz extension to the file, and then extract it to a subfolder (by calling tar).

Thanks!
Miles

@MarkHershey
Copy link
Owner

MarkHershey commented Jan 19, 2023

Hi Miles, it sounds like a good idea, would you be interested in making this change and submitting a PR? If not, I will add it sometime.

@MarkHershey MarkHershey added the enhancement New feature or request label Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants