canvas_grab icon indicating copy to clipboard operation
canvas_grab copied to clipboard

Pages not downloaded when there is no Pages tab

Open s-crypt opened this issue 3 years ago • 3 comments

Is it possible to download pages with the program? I have Organize by module, download files, links and pages selected, and a course that consists entirely of pages. Nothing is downloaded and no errors are given. The only message is Updating 0 objects (0 remote objects -> 0 local objects) when the program is trying to download items from the course.

s-crypt avatar Dec 11 '21 11:12 s-crypt

Organize by module, download files, links and pages

This option should support page download. Do you have the permission to list all pages?

skyzh avatar Dec 11 '21 11:12 skyzh

Ah, that could be the issue. All of the pages are listed under the "home" tab under different sections. Is there a "manual" way to download pages for cases like this?

s-crypt avatar Dec 11 '21 11:12 s-crypt

I don't have the environment to experiment with. You may take a look at https://github.com/skyzh/canvas_grab/blob/master/canvas_grab/snapshot/canvas_module_snapshot.py#L83 and see how to retrieve such info. Submit a PR if you succeed 🤣

skyzh avatar Dec 11 '21 11:12 skyzh