diff --git a/doc/get-marcxml-inspire b/doc/get-marcxml-inspire --- a/doc/get-marcxml-inspire +++ b/doc/get-marcxml-inspire @@ -1,16 +1,16 @@ #! /usr/bin/env bash -for EXPT in alice atlas cms lhcb star cleo h1 zeus babar belle; do +for EXPT in alice atlas cms lhcb star cleo h1 zeus babar belle opal delphi aleph l3 jade argus; do for YEAR in $(seq 1980 $(date +"%Y")); do OUT=inspire-$EXPT-$YEAR.marc.xml if [[ -e $OUT ]]; then echo "$OUT exists: skipping $EXPT $YEAR download" else echo "Downloading $EXPT $YEAR Inspire record to $OUT" #URL="https://cds.cern.ch/search?ln=en&cc=${COLL}&op1=a&m1=a&p1=${YEAR}&f1=year&rg=200&jrec=1&of=xm" URL="https://inspirehep.net/search?ln=en&ln=en&p=find+cn+${EXPT}+and+ac+100%2B+and+de+${YEAR}&of=xm&action_search=Search&sf=earliestdate&so=d&rm=&rg=250&sc=0&ot=001,024,035,037,710,245" echo "$URL" wget "$URL" -O $OUT fi done done