diff --git a/apps/resm/tasks.py b/apps/resm/tasks.py index bc5f516..8dfbdea 100644 --- a/apps/resm/tasks.py +++ b/apps/resm/tasks.py @@ -336,7 +336,7 @@ def download_pdf(paper_id): # if paper.has_fulltext_pdf is False and cache.get("openalex_api_exceed") is None: # current_from = "openalex" # msg = save_pdf_from_openalex(paper) - if paper.has_fulltext_pdf is False: + if paper.has_fulltext_pdf is False and paper.publication_year <= 2021: msg = save_pdf_from_scihub(paper) return msg, current_from finally: