- Get Entrez Direct (EDirect) Utilities working on your computer, or use my handy docker image (basically any version will work). My Docker image comes with ssh so you can upload the results out of the container with relative ease.
esearchsra with your query and pipe that toefetchin XML format (see example below)- You now have an XML file with files in it. Throw it at my Ranchero script to parse it for you.
Example esearch query:
esearch -db sra -query 'PRJNA701308[bioproject]' | efetch -format native -mode xml