Subject: Re: mega changed format of public download url which breaks megadl tool
From: Tim Tanguay
Date: Fri, 3 Apr 2020 19:15:27 -0700
Thanks!

On Fri, Apr 3, 2020 at 7:13 PM Ondřej Jirman <megatools@megous.com> wrote:

> On Fri, Apr 03, 2020 at 06:38:06PM -0700, Tim Tanguay wrote:
> > *Original *https://mega.nz/#!mA8tz9Ut....
> > *New*: https://mega.nz/file/mA8tz9Ut.....
> >
> > the new format doesn't pass the assert so is skipped as invalid:
> >
> > file_regex =
> >
> g_regex_new("^https?://mega(?:\\.co)?\\.nz/#!([a-z0-9_-]{8})!([a-z0-9_-]{43})$",
> > G_REGEX_CASELESS, 0, NULL); g_assert(file_regex != NULL);
> >
> > Thanks.
>
> The fix is here:
>
>   https://megous.com/git/megatools/log/
>
> regards,
>         o.
>