Coder Social home page Coder Social logo

Comments (4)

Cyberes avatar Cyberes commented on June 23, 2024 2

I also made sure files embedded in HTML were downloaded as well. For example, a module post page might have attached files.

Find them: https://github.com/Cyberes/canvas-student-data-export/blob/master/module/api/file.py
Fetch them: https://github.com/Cyberes/canvas-student-data-export/blob/master/module/get_canvas.py#L30
And download them: https://github.com/Cyberes/canvas-student-data-export/blob/master/module/threading.py#L32C12-L33C58

from canvas-student-data-export.

davekats avatar davekats commented on June 23, 2024

@Cyberes nicely done! Do you know if your code downloads files that this tool currently does not download? I thought that maybe the files listed under User Files are a collection of files from every course the user is enrolled in. So maybe the tool currently downloads all of the same files, but just organized in a different way. I no longer have access to Canvas so I can't confirm this, but maybe you can. Thanks!

from canvas-student-data-export.

Cyberes avatar Cyberes commented on June 23, 2024

User files contain every file that a user has ever submitted, even for classes that can't be accessed anymore. Also holds misc. files from tools and whatever.

from canvas-student-data-export.

davekats avatar davekats commented on June 23, 2024

Very cool. This would be a nice feature to add. While it might result in a lot of duplicate data, it would ensure that no files are missed. Perhaps it could be added as an optional task to run based on a configuration parameter.

from canvas-student-data-export.

Related Issues (13)

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.