Skip to content

Commit cd0da8c

Browse files
committed
default to extract_text_from_pdf
1 parent fb1a3fe commit cd0da8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zotero_arxiv_daily/retriever/arxiv_retriever.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ def convert_to_paper(self, raw_paper:ArxivResult) -> Paper:
4343
authors = [a.name for a in raw_paper.authors]
4444
abstract = raw_paper.summary
4545
pdf_url = raw_paper.pdf_url
46-
full_text = extract_text_from_tar(raw_paper)
46+
full_text = extract_text_from_pdf(raw_paper)
4747
if full_text is None:
48-
full_text = extract_text_from_pdf(raw_paper)
48+
full_text = extract_text_from_tar(raw_paper)
4949
return Paper(
5050
source=self.name,
5151
title=title,

0 commit comments

Comments
 (0)