You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ func main() {
46
46
mazevo:=flag.Bool("mazevo", false, "Alongside -scrape or -parse, signifies that Mazevo should be scraped/parsed.")
47
47
// Flag for map scraping, parsing, and uploading
48
48
mapFlag:=flag.Bool("map", false, "Alongside -scrape, -parse, or -upload, signifies that the UTD map should be scraped/parsed/uploaded.")
49
+
// Flag for academic calendar scraping
50
+
academicCalendars:=flag.Bool("academicCalendars", false, "Alongside -scrape, -parse, or -upload, signifies that the academic calendars should be scraped/parsed/uploaded.")
49
51
50
52
// Flags for parsing
51
53
parse:=flag.Bool("parse", false, "Puts the tool into parsing mode.")
@@ -114,6 +116,8 @@ func main() {
114
116
scrapers.ScrapeMazevo(*outDir)
115
117
case*mapFlag:
116
118
scrapers.ScrapeMapLocations(*outDir)
119
+
case*academicCalendars:
120
+
scrapers.ScrapeAcademicCalendars(*outDir)
117
121
default:
118
122
log.Panic("You must specify which type of scraping you would like to perform with one of the scraping flags!")
0 commit comments