Skip to content

Commit c27ecfd

Browse files
committed
deploy: 782a648
1 parent 189a7df commit c27ecfd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

publications/add_from_arxiv.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ def _author_lastname(author_name: str) -> str:
2020

2121

2222
def get_info(paper_id: str, out_dir: str) -> None:
23+
client = arxiv.Client()
2324
search = arxiv.Search(id_list=[paper_id])
24-
paper = next(search.results())
25+
paper = next(client.results(search))
2526

2627
summary = (
2728
paper.summary.replace("\n\n", "@@--@@")

topics.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)