Skip to content

Commit

Permalink
Update scraper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
BfB-Schenefeld committed May 19, 2024
1 parent 1974681 commit c914c81
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ def extract_and_format_date(dow, dom, month, year)
def get_event_type_abbr(event_title)
event_types = {
'AG Finanzen' => 'AG.Finanz',
'AG ISEK' => 'AG.ISEK',
'AG Kita' => 'AG.Kita',
'AG Kommunalpolitik & Schule' => 'AG.Politik.Schule',
'AG Kriminalverhütung' => 'AG.Krimi',
'AG Nachschulische Betreuung' => 'AG.Nachschul.Betreuung',
'AG Schulentwicklung' => 'AG.Schulentwicklung',
'AG Stadtkern' => 'AG.Stadtkern',
'Bauen & Feuerwehr' => 'BuF',
'ISEK' => 'AG.ISEK',
'Kita' => 'AG.Kita',
'Kommunalpolitik' => 'AG.Politik.Schule',
'Kriminalverhütung' => 'AG.Krimi',
'Betreuung' => 'AG.Nachschul.Betreuung',
'Schulentwicklung' => 'AG.Schulentwicklung',
'Stadtkern' => 'AG.Stadtkern',
'Feuerwehr' => 'BuF',
'Finanzen' => 'Finanz',
'Gemeindewahl' => 'GW',
'Hauptausschuss' => 'HA',
'JUBIKU' => 'JUBIKU',
'Kinder & Jugend' => 'KuJ',
'Klimaschutz & Energie' => 'KEA',
'Jugend' => 'KuJ',
'Klimaschutz' => 'KEA',
'Ratsversammlung' => 'RV',
'Rechnungsprüfung' => 'RP',
'Schule, Sport & Kultur' => 'SSK',
'Kultur' => 'SSK',
'Schulleiterwahl' => 'SLW',
'Seniorenbeirat' => 'SB',
'Soziales, Jugend & Senioren' => 'SJuS',
'Stadtentwicklung & Umwelt' => 'ASU'
'Soziales' => 'SJuS',
'Stadtentwicklung' => 'ASU'
}
event_types.each do |keyword, abbr|
return abbr if event_title.include?(keyword)
Expand Down

0 comments on commit c914c81

Please sign in to comment.