Skip to content

A tool to automatically retrieve information about a course (like the status, grade, etc) from a netP@/netPA instance

License

Notifications You must be signed in to change notification settings

joaopms/netpa-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netP@ Scrapper

A tool to automatically retrieve information about a course (like the status, grade, etc) from a netP@/netPA (by Digitalis) instance.

This tool is not affiliated or supported by Digitalis.

Telegram integration

If you want to receive a Telegram message when the retrieved information changes, check out the Telegram integration branch.

How to run

  • Firstly clone the repository
  • Install puppeteer by running npm install
  • Provide the required environment variables (see below) and run the tool with node index.js

Environment variables

Variable Required Description
NETPA_URL Yes The NetPA instance base URL | If the login page is https://example.com/netpa/page then the variable should be https://example.com/netpa
NETPA_USER Yes Your NetPA username
NETPA_PASS Yes Your NetPA password
NETPA_COURSEID Yes The course ID
NETPA_COURSEINFOCOLUMNID No; Defaults to 1071 The column ID of the information that will be retrieved | 1071: Course status, 1075: Grade *

* IDs might be different from instance to instance

Full example

NETPA_URL=https://example.com/netpa \
NETPA_USER=stu12395 \
NETPA_PASS=hunter2 \
NETPA_COURSEID=1593994 \
NETPA_COURSEINFOCOLUMNID=1071 \
node index.js

License

Do What The Fuck You Want To Public License (WTFPL)

About

A tool to automatically retrieve information about a course (like the status, grade, etc) from a netP@/netPA instance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published