Can no longer download static GTFS

I had a developer account and could download the static GTFS successfully in the past. Now I can login using the credentials on the site, yet the download script returns a 401 Authentication error.

wget --user=me --password=my-password https://developer.transport.nsw.gov.au/direct/full_greater_sydney_gtfs_static.zip

Further:
Cookie coming from developer.transport.nsw.gov.au attempted to set domain to tfnsw-ca-api-g-ELB-ZWSWXFXUS1F5-816410105.ap-southeast-2.elb.amazonaws.com

Hi Joriwu,
We’re undergoing a transition with portal at the moment and there will be more changes coming. You’re much better off getting the file from the API gateway to save making changes to your code next time.

To retrieve the files it’s not that different to your command above except you use your API key for authentication:

Example:
wget --header "Authorization:apikey l7xxxxxx " ‘https://api.transport.nsw.gov.au/v1/gtfs/schedule/buses

You can find all the endpoints here:
https://opendata.transport.nsw.gov.au/search/field_resources%253Afield_format/api-49/type/dataset?sort_by=changed

Cheers

Patrick