Giter VIP home page Giter VIP logo

Comments (4)

C0D3D3V avatar C0D3D3V commented on June 20, 2024

Currently this is normal behavior of moodle-dl. Moodle-dl tries to download any external link using youtube-dl. You can't currently specify which links are not downloaded using youtube-dl. But you can specify which external links are downloaded at all, see here: https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Download-(external)-linked-files

The error is not that the link is downloaded :D Which is generally funny, the audio is downloaded from the login captcha... But the error is that youtube-dl could not create the file, why is still unclear to me. This is again one of the Windows problems.

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on June 20, 2024

I guess the problem is that the file name is larger than 255 characters. I guess I have to change something about that.

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on June 20, 2024

Yes thats it, according to the windows documentation:

The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters. This type of path is composed of components separated by backslashes, each up to the value returned in the lpMaximumComponentLength parameter of the GetVolumeInformation function (this value is commonly 255 characters). To specify an extended-length path, use the "\?" prefix. For example, "\?\D:\very long path".

I will think about a possible fix ... for now you can also skip the failure with the --without-downloading-files flag, look at the readme for details.

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on June 20, 2024

Fix is released

from moodle-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.