Class Scraper
java.lang.Object
Scraper
The Scraper class provides methods for scraping timetable data from a website.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimetableDatatimetableScraper(int timeframe, String login, String password, String arg) Scrapes timetable data from a website.
-
Constructor Details
-
Scraper
public Scraper()
-
-
Method Details
-
timetableScraper
public static TimetableData timetableScraper(int timeframe, String login, String password, String arg) Scrapes timetable data from a website.- Parameters:
timeframe- The number of days to look ahead for the timetable.login- The login username.password- The login password.arg- Additional argument for the web driver, such as "--headless".- Returns:
- The timetable data scraped from the website.
-