Comments (13)
Currently there are two solutions to the problem. If download_also_with_cookie
is enabled in the configuration, then a file called Cookies.txt
is created in the download folder. You can add your cookies there or you can create this file yourself.
from moodle-dl.
Issue is not about cookies, that can be managed externally in youtube-dl and wget config files in home folder.
The main thing is
Is there a way to automatically force download specific website links posted on moodle.
User can specify pattern of the links and software to use for them, something like,
dropbox -> wget
youtube -> youtube-dl
zoom -> wget
universityspecificyoutube -> youtube-dl
right now I am getting file like this in the course folder
[Desktop Entry]
Encoding=UTF-8
Name=link to foounivtube
Type=Link
URL=https://tube.foouniv.com/videos/e23dfoo
Icon=text-html
Name[en_US]=link to foounivtube
I want to directly download https://tube.foouniv.com/videos/e23dfoo
using youtube-dl
from moodle-dl.
currently every link is just tried to be downloaded with youtube-dl and if youtube-dl can't find any videos, it downloads it manuly (just like wget, it is called urllib2).
from moodle-dl.
Have you set download_linked_files
to true?
from moodle-dl.
Can you send me the log, from downloading this file? So delete the desktop file and remove it from the database with moodle-dl -md
Then redownload it with moodle-dl -v
and send me the new log.
from moodle-dl.
Have you set
download_linked_files
to true?
yes, I am using master
branch of moodle-dl
from moodle-dl.
did you test the link with youtube-dl? Can youtube-dl even download the link?
from moodle-dl.
I will look up if the config file of youtube-dl is even used if I call it in my script... I think you have to use the secend option I told you above.
from moodle-dl.
did you test the link with youtube-dl? Can youtube-dl even download the link?
You are right, youtube-dl can't download this link for me. I need to check my cookies config.
But still I have issues in automatically downloading videos links of zoom. Actually youtube-dl is not supporting zoom links itelf. Its not a issue of moodle-dl
from moodle-dl.
youtube-dl will ignore your system/home configuration file, because it is not run externaly but it is integrated in the moodle-dl.
You have to send me some test links. I will see what we can do. I can write an extractor for youtube-dl so that the links get downloaded too. But I never saw a Zoom Link with a download option... so send me one. Via mail if you want, or telegram: c0d3d3v is my username
from moodle-dl.
Look at this wiki entry, how to use cookies for downloading. https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Use-cookies-when-downloading
from moodle-dl.
So what other wishes do you have? I don't quite understand your question and without the information I asked for I can't do anything else.
from moodle-dl.
I will add the zoom extractor to moodle_dl. It will be in the next release.
from moodle-dl.
Related Issues (20)
- Almost freezes with extreme RAM and CPU spikes on trying to download embedded images HOT 4
- 'staticmethod' object is not callable HOT 4
- Add Regex filtering for black and whitelists HOT 6
- On macos a shortcut should be a webloc file
- The detection of moved files seems to be unreliable
- Ignored --skip-cert-verify --allow-insecure-ssl HOT 8
- Moodle System rejected the Request due to an Invalid parameter value HOT 9
- AttributeError: 'XSOEnumMixin' object has no attribute 'name' HOT 8
- Crash when downloading course information HOT 3
- Don't try to download the mailto links HOT 2
- Moodle rejected system request - invalid_response_exception HOT 3
- Nothing downloads HOT 3
- 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
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.