iamkroot / ilc-scraper

A scraper for Impartus Lecture Capture videos for BITS Hyderabad
67 stars 30 forks source link

[BUG] [Failed to execute script and a couple of other issues] #18

Closed alanjsebas closed 4 years ago

alanjsebas commented 4 years ago

Context

Additional context Trying to download entire course vids from impartus, unable to do so. Ocassionally run into errors about the impartus account being locked

Describe the bug Fails to execute the script, and get a bunch of errors relating to lines in the code

Screenshots https://prnt.sc/rugeik

Program output

Click to see output

``` Traceback (most recent call last): File "ilc_scrape.py", line 338, in File "ilc_scrape.py", line 258, in main File "ilc_scrape.py", line 204, in login KeyError: 'message' ```

iamkroot commented 4 years ago

This would most likely occur due to invalid password entered by you, or if login is not allowed by Impartus for some other reason. I've made some changes so that the app gracefully fails in this case, since there's nothing more we can do.
Check out v0.6.3