Skip to content

Commit

Permalink
Update arxiv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
petermr authored Mar 24, 2022
1 parent 6eea654 commit 6deb5ce
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pygetpapers/repository/arxiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@
from pygetpapers.repositoryinterface import RepositoryInterface

class Arxiv(RepositoryInterface):
"""Arxiv class which handles arxiv repository"""
""arxiv.org repository

This uses a PyPI code `arxiv` to download metadata. It is not clear whether this is
created by the `arXiv` project or layered on top of the public API.

`arXiv` current practice for bulk data download (e.g. PDFs) is described in
https://arxiv.org/help/bulk_data. Please be considerate and also include a rate limit.



"""
def __init__(self):
self.download_tools = DownloadTools(ARXIV)
Expand Down Expand Up @@ -176,4 +186,4 @@ def apipaperdownload(self, query_namespace):
makecsv=query_namespace["makecsv"],
makexml=query_namespace["xml"],
makehtml=query_namespace["makehtml"],
)
)

0 comments on commit 6deb5ce

Please sign in to comment.