Subject: Re: New mega link format causing issues?
From: Ondřej Jirman
Date: Sat, 4 Apr 2020 04:11:36 +0200
Hi,

On Thu, Apr 02, 2020 at 09:51:35PM -0400, Max Turgor wrote:
> Hi,
> 
> Thanks for this great tool. I believe I have found a bug recently
> introduced recently due to a link format change made by mega.
> 
> It appears mega.nz has started using a different link format? Until
> recently, all links had the form *mega.nz/#
> <http://mega.nz/#>!<file-id>!<key>* , but now they seem to be of the
> form *mega.nz/file/
> <http://mega.nz/file/><file-id>#<key>*
> 
> I believe this is causing the invalid link errors I'm seeing for the first
> time with megatools 1.10.2 (I provided an example small text file link
> below).
> 
> megadl
> https://mega.nz/file/KxoH2SaC#gKPJZFlfi7NwcSvpQthg_P5jJDaRy3auBttmElm-M_Q
> 
> WARNING: Skipping invalid Mega download link:
> https://mega.nz/file/KxoH2SaC#gKPJZFlfi7NwcSvpQthg_P5jJDaRy3auBttmElm-M_Q

Thanks for the heads up. A fix is here:

  https://megous.com/git/megatools/log/

regards,
	o.

> Thanks for taking a look!
> 
> -M