LEARN script

12 views
Skip to first unread message

Jimmy He

unread,
Jan 16, 2012, 8:09:54 PM1/16/12
to uw-da...@googlegroups.com
This is the script I was talking about in today's meeting, which will download your course files from Learn. I've only tested it under Windows but it probably works in most OS's.

Requirements:

-Python 2 (preferably 2.7)
-move the "ClientCookie" folder under C:\Python27

Enjoy!

Jimmy
Learn.zip

William Chong

unread,
Jan 17, 2012, 12:16:59 AM1/17/12
to uw-da...@googlegroups.com
I didn't mention the script in the latest blog post :P
But please change anything that I might not have come explained properly or correctly.

-will

Lisa Zhang

unread,
Jan 17, 2012, 12:57:27 AM1/17/12
to uw-da...@googlegroups.com

Wow that is really detailed and awesome!

Samson Hu

unread,
Jan 17, 2012, 1:00:52 AM1/17/12
to uw-da...@googlegroups.com
yes!

Hongyuan He

unread,
Jan 17, 2012, 4:29:47 PM1/17/12
to uw-da...@googlegroups.com
glad you guys like it.

btw, I realized that on Unix it may try to download files already downloaded, instead of skipping them to save time. the culprit is lines 18-19, which should instead be:

fp = open(fn, 'a+')
fp.write(data+"\n")
Reply all
Reply to author
Forward
0 new messages