anupammaurya6767 / web_scrapper

GNU General Public License v3.0
9 stars 13 forks source link

Code Refactoring and Efficiency Improvements #49

Closed KavyaMalviya56 closed 1 year ago

KavyaMalviya56 commented 1 year ago

48 Issue Resolved

Changes Made:

Refactored the code to eliminate duplicate XPath queries for better efficiency. Added comments to explain the code's functionality. Created a get_latest_notice function to fetch the latest notice information, reducing redundancy. Replaced hard-coded URLs with variables for better maintainability. Improved exception handling with informative error messages.