If the Mac App Store link fails, use a trusted Mac that once downloaded Mojave. Apple lets you re-download previous macOS versions from your tab in the App Store.

to download installers directly via command line.

If the App Store link doesn't work, use this command in Terminal :