ArxivToolkit
init
_get_search_results
- query (str): The search query string used to search for papers on arXiv.
- paper_ids (List[str], optional): A list of specific arXiv paper IDs to search for. (default: :obj:
None
) - max_results (int, optional): The maximum number of search results to retrieve. (default: :obj:
5
)
search_papers
- query (str): The search query string.
- paper_ids (List[str], optional): A list of specific arXiv paper IDs to search for. (default: :obj:
None
) - max_results (int, optional): The maximum number of search results to return. (default: :obj:
5
)
download_papers
- query (str): The search query string.
- paper_ids (List[str], optional): A list of specific arXiv paper IDs to download. (default: :obj:
None
) - max_results (int, optional): The maximum number of search results to download. (default: :obj:
5
) - output_dir (str, optional): The directory to save the downloaded PDFs. Defaults to the current directory.