This project is a web scraper designed to query the enrollment status of students in the Taiwan University System. It automates the process of checking admission results across multiple departments for specified student exam numbers.
- Queries enrollment status for multiple student exam numbers
- Checks status across all departments
- Handles dynamic web content and JavaScript-based interactions
- Provides detailed output of results
Before you begin, ensure you have met the following requirements:
- Python 3.6 or higher
- Firefox browser installed
- Geckodriver installed and in your system PATH
-
Clone this repository:
git clone https://github.com/treeleaves30760/enroll-ust-query.git cd enroll-ust-query -
Install the required Python packages:
pip install selenium
-
Ensure Geckodriver is installed and in your system PATH.
-
Run the script:
python main.py
-
The script will process each exam number and display the results, showing the status for each department where the student is found.
main.py: The main script to run the queriesscrapy_whole.py: Contains the web scraping logic and functionsREADME.md: This file, containing project information and instructions
- 放棄: Give up
- 備取: In Waiting list
- 正取: Admitted
- empty: Is waiting for student's response
- The script uses Firefox in normal mode by default. To run in headless mode, uncomment the relevant line in
scrapy_whole.py. - Ensure you have a stable internet connection when running the script.
- The script may take some time to complete, depending on the number of departments and exam numbers being queried.
Contributions to this project are welcome. Please feel free to submit a Pull Request.
This project is open source and available under the License.