Fri, 15 Dec 2017 22:53:17 +0200
Restructuring to work with setting file provided as argument form the command line.
Settings in YAML format.
Added some error checking (i.e. if reponse!=200 then raise Error).
# This file contains the user-specific settings for the scc_access script. # # You should rename the file settings_sample.yaml to and move it outside the module repository. Take care to set the # minimum required permissions, as this file contains SCC access codes. For website login, it is recommended to # use credential for a user without station-management privileges. basic_credentials: ['username', 'password'] # The HTTP user name and password that is needed to access the SCC site. website_credentials: ['username', 'password'] # The user-name and password that is needed to log in to the SCC site. output_dir: /path/to/files/scc_output/ # The directory to download the files base_url: https://scc.imaa.cnr.it/ # SCC base URL. Normally you shouldn't need to change that.