diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/fetch_papers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/fetch_papers.py b/scripts/fetch_papers.py index 9bea97f..3104f43 100644 --- a/scripts/fetch_papers.py +++ b/scripts/fetch_papers.py @@ -79,8 +79,11 @@ def fetch_papers_combined(days=1): print(f"[DEBUG] fetching arXiv entries: {start} to {start+step}") resp = requests.get(base_url, params=params, timeout=30) resp.raise_for_status() + print("[DEBUG] arXiv query URL:", resp.url) feed = feedparser.parse(resp.content) batch = feed.entries + for i, e in enumerate(batch[:5], 1): + print(f"[DEBUG] sample #{i} published:", e.published) print(f"[DEBUG] fetched batch size: {len(batch)}") if not batch: |
