GithubHelp home page GithubHelp logo

Video mp4 download about moodle-dl HOT 8 CLOSED

c0d3d3v avatar c0d3d3v commented on September 4, 2024
Video mp4 download

from moodle-dl.

Comments (8)

C0D3D3V avatar C0D3D3V commented on September 4, 2024

The same feature request already exists: #12

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on September 4, 2024

The problem is that these links are all external links and there is no perfect way to download them.
The idea would be to collect a list of external links, categorize them and then download them with third party tools like youtube-dl or jdownloader.
But there is no way to determine if it is a video, document or anything else.

from moodle-dl.

marcoscale98 avatar marcoscale98 commented on September 4, 2024

I am referring to internal links. I managed to make a spartan patch (all links are transformed into mp4)

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on September 4, 2024

Can you send a screenshot and the source code from the Moodle site where the mp4 is not downloaded. Normally all files stored on moodle will be downloaded.

from moodle-dl.

marcoscale98 avatar marcoscale98 commented on September 4, 2024

Can you send a screenshot and the source code from the Moodle site where the mp4 is not downloaded. Normally all files stored on moodle will be downloaded.

image
For example, don't download "prima parte.mp4" but "prima parte.desktop"

https://pastebin.com/censored
This is the source code of the page

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on September 4, 2024

Thank you :) I have looked at the source code.
That's exactly what Issue #12 is about. The mp4 file was not uploaded directly to moodle but only given as URL. You can see that by right clicking on the link and then clicking "open in a new tab". So far i don't have a good solution for this problem. I could follow the link and just download the file. But behind the link could be a website.
Maybe you have an idea.

I could let the user define which links should be downloaded automatically with which program. For example, if the link links to a youtube video that is then downloaded using youtube-dl.

from moodle-dl.

marcoscale98 avatar marcoscale98 commented on September 4, 2024

Maybe you have an idea.

I used this method which only worked for the course in question. Instead of creating a link, I created an mp4 file. It works because in the link there is only one video file, if there are more than one it doesn't work.

image
In my case, however, the video is in an external link but is visible from moodle

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on September 4, 2024

I think this is implemented by the way by now.

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.