Datalad download-url failing to download scripts from Github correctly

Hi Datalad Team,

Another but hopefully easier question this time.

When using datalad download-url to download scripts from Github (specifically I end up with an unreadable script in my dataset (see

Any idea why this may be and how to solve it?

Thanks again,


Those a html pages. You need to use URLs to “raw file” which GitHub gives per each file (click on three dots you have for each file header to bring menu). So the correct one would be

Haha, this one is clearly easier than the previous one - thanks a lot Yarik!