Skip to content

Commit

Permalink
Fixed WithdrawnCourses to follow new LTPJC pattern
Browse files Browse the repository at this point in the history
* LTPJC is now default for both
* LTPC will be removed when Chennai switches to new format
* Verson 1.2.3
  • Loading branch information
aneesh-neelam committed Jul 22, 2015
1 parent d481ff7 commit f305efa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/scraper/timetable.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ exports.scrapeTimetable = function (app, data, callback) {
course_code: htmlColumn.eq(2).text(),
course_title: htmlColumn.eq(3).text(),
subject_type: htmlColumn.eq(4).text(),
ltpc: htmlColumn.eq(5).text().replace(/[^a-zA-Z0-9]/g, ''),
ltpjc: htmlColumn.eq(5).text().replace(/[^a-zA-Z0-9]/g, ''),
course_mode: htmlColumn.eq(6).text()
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitacademics",
"version": "1.2.2",
"version": "1.2.3",
"description": "VITacademics API Server and Web App",
"homepage": "https://vitacademics-rel.herokuapp.com/",
"bugs": {
Expand Down

0 comments on commit f305efa

Please sign in to comment.