MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fetch_journal_papers

Function fetch_journal_papers

deployments/feishu/daily-push-agent/main.py:1263–1278  ·  view source on GitHub ↗
(fetch_days: int)

Source from the content-addressed store, hash-verified

1261 end_date=end_date,
1262 conferences=conferences,
1263 limit=limit_per_source
1264 ) or []
1265 for paper in papers:
1266 paper["source"] = "openreview"
1267 print(f" Fetched {len(papers)} papers from OpenReview")
1268 emit({"phase": "source_complete", "source": "openreview", "count": len(papers)})
1269 emit_fetched("openreview", papers)
1270 return papers
1271
1272 def fetch_journal_papers(fetch_days: int) -> List[Dict]:
1273 if not journals:
1274 print("Skipping journal fetch: no journals selected")
1275 return []
1276 print(f"Fetching from journals ({journals}) in the last {fetch_days} days...")
1277 papers = journal_fetch_recent(
1278 journals=journals,
1279 days=fetch_days,
1280 limit_per_journal=limit_per_source
1281 ) or []

Callers 1

fetch_and_process_papersFunction · 0.70

Calls 2

emitFunction · 0.85
emit_fetchedFunction · 0.85

Tested by

no test coverage detected