correctly use $options for `get_api_url()` and

`construct_download_lin()`