Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
15 attachments for daily notices (#24)
Browse files Browse the repository at this point in the history
* Make program scrape notice attachments

* Make Print Data.py print attachments and their URLs

* Make app show attachments

Click the button to copy the link to the clipboard

* Fix journal (#31)

* Update journal scraping errors

* Update journal scraping errors (Fix #30)
  • Loading branch information
J-J-B-J authored Mar 6, 2023
1 parent 05a402e commit f7d9a2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SentralTimetable/timetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ def get_timetable(usr: str = None, pwd: str = None, url: str = None,

html_homepage = driver.page_source

if debug:
print("Scraping Notices")
notices = scrape_notices(driver.page_source, url)
user = scrape_user(driver.page_source)

if debug:
print("Navigating to reporting")
webdriver_go_to_reporting(driver, timeout)
Expand Down

0 comments on commit f7d9a2f

Please sign in to comment.