GithubHelp home page GithubHelp logo

wyattduber / canvas-scraper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.32 MB

A lightweight python program that will scrape a canvas class for files that may be hidden from the standard user's view but still downloadable if you have the link

License: GNU General Public License v3.0

Python 78.40% Shell 21.60%

canvas-scraper's Introduction

Canvas File Scraper

This application works by openin a chrome tab with the chromedriver.exe file, then waiting about 60 seconds for you to sign in, then immediately scraping a course that you specify in main.py and it's files.

Configuration

In main.py, specify the base canvas link you want to use (in my case, it was canvas.iastate.edu). Then add the class ID (like a 5 digit number) and it will scrape all of the file ID's in the range that you also set.

Explanation

I am unaware of how canvas sets their file ID's, but it is somehow related to when the file is uploaded. So you'll want to poke around to any files that you have access to and find their ID's and get a rough explanation. The File ID will be in the link of the file that you are viewing, like https://canvas.iastate.edu/courses/#####/files/########

Good luck

canvas-scraper's People

Contributors

wyattduber avatar

Watchers

 avatar

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.