To query one of the following options can be used:
- You can query for a target list directly on the query interface. A more detailed explanation is given here.
- You can can write a shell script that goes through the list of your source names and then launches wget commands like
wget -O NGC1068.csv "https://almascience.eso.org/aq/?
you will then end up with one .csv file containing the query result for one source.
- You can use the externally developed package astroquery (https://astroquery.readthedocs.org/en/latest/). It's ALMA component (https://astroquery.readthedocs.org/en/latest/alma/alma.html) allows to query the ALMA Archive like above but from python. In addition, it also allows to download the selected data directly from python.
An example of how to query multiple sources is given here: http://nbviewer.ipython.org/gist/keflavich/e798e10e3bf9a93d1453
Please refer to the ALMA Science Archive Manual for details.