Closed lukasschwab closed 6 months ago
@vaish30 — I can't reproduce any issue with the API or this package. Taking a minimal example:
>>> import arxiv
>>>
>>> search = arxiv.Search(
... query="cat:cs.AI OR cat:stat.ML",
... sort_by=arxiv.SortCriterion.SubmittedDate,
... max_results=1000 # Set a default value for max_results
... )
>>> r = search.results()
>>> next(r) # non-empty
I'm pretty sure the issue is just that your filter condition date range is now so far in the past that none of the 1000 most recent results for that search belong to it.
Please do try to investigate issues yourself before opening tickets. If you believe you've identified a true issue (i.e. a divergence from documentation) for a package, it's best to provide a minimal code snippet reproducing the issue — one without confounding application logic or other dependencies.
@lukasschwab Hi, I have successfully implemented the code to seek the results using the wrapper, when I ran after 2 weeks, it's not giving the data and giving blank response, could you suggest what could be the issue, below is the my code:
Originally posted by @vaish30 in https://github.com/lukasschwab/arxiv.py/issues/43#issuecomment-2000279746