Skip to content

Commit b21b721

Browse files
committed
Completely refactor the calendar scraper to api calling approach
1 parent 3aeb5cd commit b21b721

File tree

3 files changed

+156
-521
lines changed

3 files changed

+156
-521
lines changed

main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ func main() {
3939
scrapeOrganizations := flag.Bool("organizations", false, "Alongside -scrape, signifies that SOC organizations should be scraped.")
4040
// Flag for calendar scraping
4141
scrapeCalendar := flag.Bool("calendar", false, "Alongside -scrape, signifies that calendar should be scraped.")
42-
// Flag for api calendar scraping
43-
scrapeAPICalendar := flag.Bool("apiCalendar", false, "Alongside -scrape, signifies that calendar should be scraped.")
4442
// Flag for astra scraping and parsing
4543
astra := flag.Bool("astra", false, "Alongside -scrape or -parse, signifies that Astra should be scraped/parsed.")
4644
// Flag for mazevo scraping and parsing
@@ -109,8 +107,6 @@ func main() {
109107
scrapers.ScrapeOrganizations(*outDir)
110108
case *scrapeCalendar:
111109
scrapers.ScrapeCalendar(*outDir)
112-
case *scrapeAPICalendar:
113-
scrapers.ScrapeAPICalendar(*outDir)
114110
case *astra:
115111
scrapers.ScrapeAstra(*outDir)
116112
case *mazevo:

scrapers/apiCalendar.go

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)