summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/login.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/login.js b/lib/login.js
index 9194dba..5b13007 100644
--- a/lib/login.js
+++ b/lib/login.js
@@ -70,9 +70,9 @@ module.exports = {
var list = [], $ = cheerio.load(body),
- current = $('article.my-course.panel').children(),
+ current = $('section.my-courses-courses').children(),
- link = $(current).children().filter('.span-7.offset-1').children().find('h3').children();
+ link = $(current).filter('.media').children().find('h3').children();
bar.tick();
@@ -139,7 +139,7 @@ module.exports = {
} else {
- $('div.syllabus tbody tr').map(function map(i, item) {
+ $('tbody tr').map(function map(i, item) {
var current = $(item), text = current.children().first().text(), href = $(current.find('a')).attr('href');
if (href) {
list.push({ name: text, value: host + $(current.find('a')).attr('href') });