This project is a finance job scraper built with Node.js, designed to extract job listings from various finance-related job portals.
-
Clone the repository:
git clone https://github.com/louisxie0830/finance-job-scraper.git
-
Navigate to the project directory:
cd finance-job-scraper
-
Install the dependencies:
npm install
-
Start the application:
npm start
-
The application will begin scraping job listings and log the results.
The following API routes are available in the application, providing job listings for different banks:
GET /taishin/jobs
- Retrieve job listings from Taishin BankGET /cathaybk/jobs
- Retrieve job listings from Cathay United BankGET /esunfhc/jobs
- Retrieve job listings from E.SUN FHCGET /sinopac/jobs
- Retrieve job listings from SinoPac Holdings
finance-job-scraper/
├── error.log # Log file for errors
├── combined.log # Combined log file for all logs
├── package.json # Project metadata and dependencies
├── .prettierrc # Prettier configuration file
├── .eslintrc.js # ESLint configuration file
├── src/ # Source code directory
│ ├── app.js # Main application file
│ ├── middleware/ # Custom middleware functions
│ ├── plugin/ # Plugins for extending functionality
│ ├── routes/ # Route definitions
│ ├── utils/ # Utility functions
│ └── winstonLogger.js # Logger configuration using Winston
Configuration settings for the scraper can be found in the src/config
directory. Adjust the settings as needed for your specific use case.
The application uses Winston for logging. Logs are saved in the root directory as error.log
and combined.log
.
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.