Skip to content

Skip papers that are not from today#2

Open
koegl wants to merge 1 commit into
Shaier:mainfrom
koegl:main
Open

Skip papers that are not from today#2
koegl wants to merge 1 commit into
Shaier:mainfrom
koegl:main

Conversation

@koegl

@koegl koegl commented Mar 3, 2025

Copy link
Copy Markdown

The arxiv API doesn't only return papers from the current day (I think from the past ~5 days).

So if the script is run daily, it will duplicate papers.

Adding a short check for the current date prevents this from happening.

The arxiv API doesn't only return papers from the current day (I think from the past ~5 days).

So if the script is run daily, it will duplicate papers.

Adding a short check for the current date prevents this from happening.
@Shaier

Shaier commented Mar 3, 2025

Copy link
Copy Markdown
Owner

That's odd... I've been using it for a while, and it always returns articles from the current day. Are you sure? Could you share the keywords you used and the duplicated results you found?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants