jkeesh / scpd-scraper

download and convert SCPD lectures easily
17 stars 17 forks source link

Webauth change #10

Open samoanthunder opened 11 years ago

samoanthunder commented 11 years ago

Since there is now an extra page after logging in on webauth, you have to add an extra follow_link call to get to the course page listing. I just added this right after the login code, after the line:
"response = br.submit()"

CODE ADDED:

try: response = br.follow_link(text='https://myvideosu.stanford.edu') except: print "Login Error: username or password likely malformed"

jkeesh commented 11 years ago

ok, cool.

jkeesh commented 11 years ago

i dont really use it anymore, but your can submit a pull request on anything you want to update