Return error and config struct instead of values (#10)
Return error and config struct instead of values (#10)

* Return error and config struct instead of values

Combine all config values to a struct and return with error instead of exiting from helper function parseScraperConfig.

* Combine assignments with error checks

yashsriv/student-search-1,pclubiitk/student-search,yashsriv/student-search-1,pclubiitk/student-search,pclubiitk/student-search,pclubiitk/student-search,yashsriv/student-search-1,yashsriv/student-search-1,yashsriv/student-search-1,pclubiitk/student-search