Skip to content

Skip papers that are not from today#2

Open
koegl wants to merge 1 commit intoShaier:mainfrom
koegl:main
Open

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

Conversation

@koegl
Copy link

@koegl koegl commented Mar 3, 2025

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
Copy link
Owner

Shaier commented Mar 3, 2025

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