Download File from Canvas using Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2024
08:00 PM
I'm trying to download a file from Canvas using Python. When I use the API to fetch the file by ID I get a response that contains a URL like the following: /files/{id}/download?download_frd=1. However I can't seem to download this. I've tried using requests.get(url,allow_redirects=True) but I just get redirected to the default login page for my institution. Any help would be appreciated, thanks!