Skip to content

A helper program that scraps and emails results from Anna University servers during high traffic concurrently.

License

Notifications You must be signed in to change notification settings

AravindVasudev/CheckMyResult

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckMyResult

A helper program that scraps and emails results from Anna University servers during high traffic concurrently.

What does this do?

This program takes a JSON array of student's register number with their email ID, fetches their result and emails them. This is useful since the servers are usually overloaded during when the results come out and this program uses a retry function when the request results in an error. This works concurrently and hence is efficient when fetching for multiple students.

Dependencies

Installation

  1. Install Golang

  2. Clone this repository

    $ git clone https://github.com/AravindVasudev/CheckMyResult.git
    $ cd CheckMyResult
  1. Install all dependencies
    $ go get ./...
  1. Build the project
    $ go build .
  1. Create email_smtp.json with your stmp server details
    $ echo "{\"emailID\": \"[email protected]\",\"password\": \"password\",\"server\": \"smtp.gmail.com\"}" > email_smtp.json
  1. Create students.json with all the student details
    $ echo "[{\"registerNumber\": \"123456789\", \"emailID\": \"[email protected]\"}]" > students.json
  1. Run the binary
    $ ./CheckMyResult

Contribute

You are always welcome to open an issue or provide a pull-request!

License

Built under MIT license.

About

A helper program that scraps and emails results from Anna University servers during high traffic concurrently.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages