pgh-public-meetings / city-scrapers-pitt

Pittsburgh City Scrapers: sourcing public meetings in Pittsburgh
https://pgh-public-meetings.github.io/events/
MIT License
19 stars 66 forks source link

Spider: Allegheny League of Municipalities #12

Open pjsier opened 5 years ago

pjsier commented 5 years ago

Spider Name:

alle_league_of_municipalities

Website:

http://alleghenyleague.org/

toddkaufmann commented 5 years ago

The alle_league_of_municipalities site has a menu of events, in ad hoc categories (from sporting events to retirement benefit informational seminars), as well as meetings and conferences.

'More details' link on an event will lead you to a google calendar. If you add the alomcalendar@gmail.com calendar to your google calendar & go to settings for it, you can get a standalone calendar link: https://calendar.google.com/calendar/embed?src=alomcalendar%40gmail.com&ctz=America%2FNew_York

as well as iCal format: https://calendar.google.com/calendar/ical/alomcalendar%40gmail.com/public/basic.ics

the city_scrapers/spiders/det_board_of_education spider parses iCal, could be used as an example (but eventually would be nice to avoid the code replication).

Include all events? That is probably simplest (parse the .ics), as the calendar is the only place the meetings occur. The web pages sometimes include additional info or the registration link, so perhaps all event details should include "Visit www.alleghenyleague.org/acba for more info or to register" (as 1 of the 90 events does).