I try to download zip sources from a github url, e.g. https://codeload.github.com/andresusanto/easydl/zip/refs/heads/master but the file is just called "master" (I tried with another repo actually and it was called "main"). If I print the content-disposition header in the .on("metadata",...) method, I see the correct file name, but dl.savedFilePath is just the name of the branch.
I try to download zip sources from a github url, e.g. https://codeload.github.com/andresusanto/easydl/zip/refs/heads/master but the file is just called "master" (I tried with another repo actually and it was called "main"). If I print the content-disposition header in the
.on("metadata",...)method, I see the correct file name, butdl.savedFilePathis just the name of the branch.