feat: 增加d_scihub 调用2

This commit is contained in:
caoqianming 2026-02-03 15:55:10 +08:00
parent 43e8dbc226
commit 51fc1a5c5a
1 changed files with 1 additions and 0 deletions

View File

@ -337,6 +337,7 @@ def download_pdf(paper_id):
# current_from = "openalex"
# msg = save_pdf_from_openalex(paper)
if paper.has_fulltext_pdf is False and paper.publication_year <= 2021:
current_from = "scihub"
msg = save_pdf_from_scihub(paper)
return msg, current_from
finally: