Giter Club home page Giter Club logo

Comments (13)

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

HumHongeKamyaab avatar HumHongeKamyaab commented on May 28, 2024

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.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

Have you set download_linked_files to true?

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

HumHongeKamyaab avatar HumHongeKamyaab commented on May 28, 2024

Have you set download_linked_files to true?

yes, I am using master branch of moodle-dl

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

did you test the link with youtube-dl? Can youtube-dl even download the link?

from moodle-dl.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

HumHongeKamyaab avatar HumHongeKamyaab commented on May 28, 2024

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.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

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.

C0D3D3V avatar C0D3D3V commented on May 28, 2024

I will add the zoom extractor to moodle_dl. It will be in the next release.

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.