ghiobi / Concordia-ENCS-Scrapper

A script to scrape Concordia's ENGR and CS sections. Implemented with Goutte.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vanlew

A script to scrape Concordia's ENGR and CS sections on https://aits.encs.concordia.ca/oldsite/resources/schedules/courses/.

How to Use

  1. Install dependencies composer install
  2. Execute script php sections.php

Output Format

[
   {
        "number": "COMP248",
        "name": "Object-Oriented Programming I",
        "sections": [
            {
                "type": "Tut",
                "section": "EEEA",
                "day": "-T-----",
                "start": "11:45",
                "end": "13:25",
                "room": "H929 *",
                "instructor": ""
            },
            {
                "type": "Lab",
                "section": "EI-X",
                "day": "M------",
                "start": "19:45",
                "end": "20:45",
                "room": "H917 *",
                "instructor": ""
            },
...

About

A script to scrape Concordia's ENGR and CS sections. Implemented with Goutte.


Languages

Language:PHP 100.0%