Comments (4)
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.
@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.
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.
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)
- Was not able to save the URL using singlefile. The reported error was No such file or directory HOT 5
- Arch Linux - Failed to launch the browser process! spawn chrome ENOENT HOT 2
- Cannot find chrome HOT 1
- Cannot bypass login page for any downloaded HTML files HOT 3
- ModuleNotFoundError: No module named 'canvasapi' HOT 1
- Unexpected token '??=' when downloading pages HOT 5
- Course Files Download but no Modules Content HOT 10
- How do i get this to run on mac? HOT 7
- npm i github command failure HOT 1
- cannot import name 'Finder' from 'importlib.abc' HOT 3
- Line 362 #TODO HOT 1
- Issue with packages (I think) HOT 5
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 canvas-student-data-export.