Skip to content

SITW/NCKU-parser

Repository files navigation

NCKU-parser

Refined the data of NCKU

##Usage

  • Course Parser: Course Parser is a Parser to parse courses of NCKU
python course-parser/courseParser.py
  • Club Parser Club Parser is a Parser to parse club info of NCKU
ruby club-parser/club-parser.rb
  • Club Event Parser Club Event Parser is a Parser to parse club event info of NCKU
ruby club-event-parser/club-event-parser.rb
  • Teacher Parser: Teacher Parser is a Parser to parse teachers' profiles info of NCKU
ruby teacher-parser/teacher-parser.rb

When Using ruby parser have error msg, run :

  • Club activity year fragment

Required: npm, nodejs

node club-event-parser/club-event-yfragment.js

seperate activities into year fragment

  • Club activity month fragment

Required: npm, nodejs

node club-event-parser/club-event-mfragment.js <what year do you want to parse>

for example:

node club-event-parser/club-event-mfragment.js 2011

note: you have to run the year fragment first before you run month fragment. seperate activities into month fragment

gem install ruby-progressbar
gem install nokogiri
gem install json
gem install open-uri

Author

@Lee-W -> course parser

@garylai1990 -> activity parser, club parser

@chilijung -> activity seperate into fragment(month, year units)