Skip to content

Commit 4ba6701

Browse files
committed
Update script to force CDS harvest of larger batch
1 parent 4d56f9c commit 4ba6701

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/force-cds-harvest/script.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class ForceCDSHarvest(SearchCheckDo):
77

88
query = (
99
"(_oai.sets:CERN:arXiv or _oai.sets:ForCDS) "
10-
"-external_system_identifiers.schema:CDS"
10+
"and du > 2021-06-26 and arxiv_eprints.value:* and de >= 2021"
1111
)
1212

1313
@staticmethod
@@ -19,6 +19,7 @@ def check(record, logger, state):
1919
id_["schema"] == "CDS"
2020
for id_ in record.get("external_system_identifiers", [])
2121
)
22+
and "arxiv_eprints" in record
2223
)
2324

2425
@staticmethod

0 commit comments

Comments
 (0)