Comments (8)
The same feature request already exists: #12
from moodle-dl.
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.
I am referring to internal links. I managed to make a spartan patch (all links are transformed into mp4)
from moodle-dl.
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.
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.
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.
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.
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.
In my case, however, the video is in an external link but is visible from moodle
from moodle-dl.
I think this is implemented by the way by now.
from moodle-dl.
Related Issues (20)
- Download fails on some courses HOT 1
- Unable to lock cache on Moodle v4 HOT 4
- Retry on timeout
- config.json should be created unreadable to others HOT 2
- Do not download large files HOT 3
- Usage of -nt -u -pw just hangs moodle-dl HOT 1
- Same file with identical content gets downloaded again every time Moodle-DL is executed HOT 5
- NoneType has no len() - not downloading HOT 1
- Size estimation increases during download HOT 8
- Rework optional downloads
- Is there anyway to use it to DL all "Books" on a course? HOT 7
- The Moodle System rejected the Request [invalidprivatetoken] HOT 1
- Quizzes are not properly downloaded HOT 9
- Calendar mod fails with 'dict' object has no attribute 'append' HOT 1
- question re pip install HOT 9
- Add index to subfolders and files
- Encountering this SSL error whilst running --init HOT 4
- Download global grades from a course
- Use pyinstaller to build moodle-dl packages in CI/CD
- Investigate if we can download parts of h5p Modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-dl.