researchpilot-api / test_fetch.py
Subhadip007's picture
feat: data ingestion and processing pipeline complete
233102d
raw
history blame contribute delete
246 Bytes
from src.utils.logger import setup_logger
from src.ingestion.arxiv_fetcher import ArXivFetcher
setup_logger()
fetcher = ArXivFetcher()
papers = fetcher.fetch_papers(max_papers = 5)
for p in papers:
print(f"{p.paper_id}: {p.title[:60]}...")