module BlackBoard::Dl
Defined in:
blackboard-dl/client.crblackboard-dl/version.cr
cli.cr
Constant Summary
-
BB_VERSION =
"4.1.2"
-
COOKIES =
{"s_session_id" => "", "session_id" => "", "web_client_cache_guid" => ""}
-
COURSE =
"/webapps/Bb-mobile-bb_bb60/courseMap?v=1&f=xml&ver=4.1.2"
-
COURSES_PATH =
"/webapps/Bb-mobile-bb_bb60/enrollments?v=1&f=xml&ver=4.1.2&course_type=ALL&include_grades=false"
-
HEADERS =
HTTP::Headers {"User-Agent" => "Mobile Learn/3333 CFNetwork/758.0.2 Darwin/16.0.0", "Accept-Language" => "en-gb"}
-
LOGIN =
"/webapps/Bb-mobile-bb_bb60/sslUserLogin?v=2&f=xml&ver=4.1.2"
-
SEARCH_HOST =
"https://mlcs.medu.com/api/b2_registration/match_schools/?"
-
Constants
-
VERSION =
"0.5.1"
Class Method Summary
-
.check_y_n(choice)
Check for yes or no.
-
.download(bb_url, bb_username, bb_password)
Download courses material with a college url, username & password.
-
.download_as_daemon(bb_username, bb_password)
Download course material as a daemon with a username & password.
-
.load_selected_college
Load selected college if it exists.
-
.run
Runs the blackboard-dl commandline utility.
-
.save_selected_college
Save selected college.
-
.search_college
Search for the students college.
Class Method Detail
def self.download(bb_url, bb_username, bb_password)
#
Download courses material with a college url, username & password.
def self.download_as_daemon(bb_username, bb_password)
#
Download course material as a daemon with a username & password.