Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTSC timetable scraper #7

Open
qasim opened this issue Apr 18, 2015 · 7 comments
Open

UTSC timetable scraper #7

qasim opened this issue Apr 18, 2015 · 7 comments

Comments

@qasim
Copy link
Member

qasim commented Apr 18, 2015

The UTSC timetable needs a scraper.

@vatdaell
Copy link

vatdaell commented Apr 2, 2016

Hey I can work on that

@qasim
Copy link
Member Author

qasim commented Apr 2, 2016

@vatdaell Cool! Here's where the file for it is: uoftscrapers/scrapers/timetable/utsc/__init__.py

And these are the places I found where UTSC posts info. If you're a UTSC student, you may know better.

Keep us updated if you find anything else / want feedback!

@qasim qasim changed the title Implement a scraper for the UTSC timetable UTSC timetable scraper Apr 12, 2016
@qasim qasim removed the enhancement label Apr 13, 2016
@vatdaell
Copy link

Hey,
I think we might have a problem with the UTSC calendar due to the current formatting of the utsg calendar. Some things do not apply to UTSC courses

@arkon
Copy link
Contributor

arkon commented Apr 14, 2016

@vatdaell Like what?

@vatdaell
Copy link

@arkon enrollment numbers and limits are not public as of now. Also I'm not sure what id is used for. Plus are breadths just the breadth that each course belongs into?

@qasim
Copy link
Member Author

qasim commented Apr 14, 2016

@vatdaell You can set enrolment numbers / limits to zero by default in that case.

id is a unique identifier for the course. Basically it's split into the following pieces:

  • CSCB09H3Y20165
    • CSCB09: The code of the course
    • H: The course length (H is half term, Y is full year)
    • 3: Campus identifier (1 = UTSG, 3 = UTSC, 5 = UTM)
    • Y: The length the course is actually taking (H is half term, Y if full year), can be different from the course length if the course is being offered at 0.5x speed or 2x speed
    • 20165: The term it was offered (20165 is 2016 Summer, aka year 2016, month 5 which is july)

This is unique to every course taught at all 3 campuses. Hopefully the website you're scraping from will give you bits and pieces that you can put together to form the full id. Let me know if you need clarification or help with anything!

Any yeah, breadths are a UTSG thing so UTSC might not apply. You can leave them as empty arrays.

@vatdaell
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants