{"id":25002069,"url":"https://github.com/opesam42/unilag-course-form-bot","last_synced_at":"2026-05-18T14:33:47.647Z","repository":{"id":275607413,"uuid":"926592840","full_name":"opesam42/unilag-course-form-bot","owner":"opesam42","description":"A Python script that automates logging into the UNILAG Student Portal, selects a session and semester, and downloads the course registration form as a PDF using Selenium.","archived":false,"fork":false,"pushed_at":"2025-02-03T15:10:28.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T16:24:01.884Z","etag":null,"topics":["automation","python","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opesam42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-03T14:32:05.000Z","updated_at":"2025-02-03T15:22:33.000Z","dependencies_parsed_at":"2025-02-03T16:24:03.422Z","dependency_job_id":"86f23fe4-8957-4ddb-94a8-7c6594170910","html_url":"https://github.com/opesam42/unilag-course-form-bot","commit_stats":null,"previous_names":["opesam42/unilag-course-form-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opesam42%2Funilag-course-form-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opesam42%2Funilag-course-form-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opesam42%2Funilag-course-form-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opesam42%2Funilag-course-form-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opesam42","download_url":"https://codeload.github.com/opesam42/unilag-course-form-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246239968,"owners_count":20745801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","python","selenium"],"created_at":"2025-02-04T21:23:29.839Z","updated_at":"2026-05-18T14:33:47.641Z","avatar_url":"https://github.com/opesam42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UNILAG Course Form Downloader 🚀\n\nA Python script that automates logging into the UNILAG Student Portal, selects a session and semester, and downloads the course registration form as a PDF using Selenium.\n\n---\n\n## 📌 Features\n- Automates login to the UNILAG student portal.\n- Selects session and semester.\n- Extracts the course form download link.\n- Downloads and saves the course form as a PDF.\n- Uses environment variables for secure authentication.\n\n---\n\n## 🛠️ Requirements\nEnsure you have the following installed before running the script:\n- **Python\n- **Google Chrome**\n- **Selenium**\n- **Python-dotenv**\n\n---\n\n## 🚀 Setup Instructions\n\n### 1️. Clone the Repository\n\nOpen your terminal or command prompt and run:\n```bash\ngit clone https://github.com/opesam42/unilag-course-downloader.git\ncd unilag-course-downloader\n```\n\n### 2. Install Dependencies\n```bash\npip install -r requirements.txt\n```\n\n### 3. Set Up Environment Variable\n```bash\nMATRIC_NO=your_matric_no\nPASSWORD=your_password\n```\n\n### 4. Run the Script\n```bash\npython main.py\n```\n\n\n## 🔍 How It Works  \n1. Opens the **UNILAG student portal** login page.  \n2. Logs in using credentials stored in `.env`.  \n3. Navigates to the **course form page**.  \n4. Selects the **session and semester**.  \n5. Extracts the **course form download URL**.  \n6. Saves the file as **`course.pdf`**.  \n\n---\n\n## 🛠️ Troubleshooting  \n### 🔹 Selenium Errors  \nEnsure your **ChromeDriver** version matches your installed **Chrome browser** version.  \nDownload the correct **ChromeDriver** from [here](https://sites.google.com/chromium.org/driver/).  \n\n### 🔹 Login Issues  \n- Verify your **matric number** and **password** in the `.env` file.  \n- Ensure your **UNILAG portal account** is active.  \n\n### 🔹 Timeout Errors  \nIf elements take too long to load, increase the **WebDriverWait** duration in the script.  \n\n---\n\n## Author\n- Website - [Gbenga Opeyemi](https://gbenga.koyeb.app/)\n- X - [@gbengaopeyemi04](https://x.com/gbengaopeyemi04)\n- LinkedIn - [Opeyemi Oluwagbemiga](https://linkedin.com/in/opeyemi-oluwagbemiga-2ba61423b)\n\n## 📜 License  \nThis project is open-source and available under the **MIT License**.  \nFeel free to modify and distribute it according to the license terms.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopesam42%2Funilag-course-form-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopesam42%2Funilag-course-form-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopesam42%2Funilag-course-form-bot/lists"}