Git Product home page Git Product logo

canvas-rip's People

Contributors

thatarchguy avatar

Watchers

 avatar

canvas-rip's Issues

Second Class Rip Attempt Fails

Edit: Regenerated the API Key and it works until:

For class: 188920
Traceback (most recent call last):
File "crip.py", line 19, in
classfiledir = apiObj.allPages('courses/'+str(classid)+'/files')
File "/home/matt/canvas-rip/canvaslms/api/init.py", line 241, in allPages
for pg in self.pages(url, absoluteUrl, verbose):
File "/home/matt/canvas-rip/canvaslms/api/init.py", line 181, in pages
resp = self.callAPI(url, absoluteUrl, verbose)
File "/home/matt/canvas-rip/canvaslms/api/init.py", line 297, in callAPI
return urlopen(req)
File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.4/urllib/request.py", line 461, in open
response = meth(req, response)
File "/usr/lib/python3.4/urllib/request.py", line 571, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.4/urllib/request.py", line 499, in error
return self._call_chain(_args)
File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
result = func(_args)
File "/usr/lib/python3.4/urllib/request.py", line 579, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Authorization Required


Here is the output of the script:
root@ubuntu:/home/matt/canvas-rip# python3 crip.py
For class: 56527
Grabbing : cc_logo.jpg for COR-310-01
Grabbing : COR+310+-+Technology+and+Development+-+Fall+2013.doc for COR-310-01
Grabbing : COR+310+-+Technology+and+Development+-+Fall+2013.pdf for COR-310-01
Grabbing : COR_310_literature_review_instruction_handout+Fall+2013.doc for COR-310-01
Grabbing : Gated+Globe.pdf for COR-310-01
For class: 56548
Traceback (most recent call last):
File "crip.py", line 19, in
classfiledir = apiObj.allPages('courses/'+str(classid)+'/files')
File "/home/matt/canvas-rip/canvaslms/api/init.py", line 241, in allPages
for pg in self.pages(url, absoluteUrl, verbose):
File "/home/matt/canvas-rip/canvaslms/api/init.py", line 181, in pages
resp = self.callAPI(url, absoluteUrl, verbose)
File "/home/matt/canvas-rip/canvaslms/api/init.py", line 297, in callAPI
return urlopen(req)
File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.4/urllib/request.py", line 461, in open
response = meth(req, response)
File "/usr/lib/python3.4/urllib/request.py", line 571, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.4/urllib/request.py", line 499, in error
return self._call_chain(_args)
File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
result = func(_args)
File "/usr/lib/python3.4/urllib/request.py", line 579, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Authorization Required

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.