Skip to content

Latest commit

 

History

History
executable file
·
44 lines (30 loc) · 1.23 KB

File metadata and controls

executable file
·
44 lines (30 loc) · 1.23 KB

SSN Intranet Downloader

Python Script to download all files for CSE/IT given year & semester from the intranet and hence generate a local copy of the webpages.

Requirements

Options Help
-b Branch. 5 for CSE. 9 for IT
-y Year. 1 / 2 / 3 / 4
-s Semester. 1 - Odd / 2 - Even
-p Path to download files to

Example (Run on SSN WiFi)

To run the script. (Input using prompts)

python ssn.py

To download 2nd year CSE even semester files in current path

 python ssn.py -b 5 -y 2 -s 2

To download 3rd year IT odd semester files in /home/MyComputer

 python ssn.py -b 9 -y 3 -s 1 -p /home/MyComputer
  • Progress bar to indicate download status of each subject
  • Renames files based on headings/ link text from pages.
  • Updates downloaded files every time script is run. Does not overwrite prexisting files.

Maintaining GHPages version

Uses Github Pages to host Intranet files.

Requirements

Usage

python globalize.py