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 Apr 21, 2024
1 parent 270af48 commit 1d315b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ def scrape_calendar_data(year, month)
date_part = date_raw[/\d+/] # Extract digit characters
date = "#{day_part} #{date_part.rjust(2, '0')}" # Combine with a space and ensure two digits for date

puts "Date: #{date}, Time: #{time}, Meeting: #{meeting}, Location: #{location}, URL: #{link_full_url}"
puts "Datum: #{date}, Zeit: #{time}, Sitzung: #{meeting}, Ort: #{location}, URL: #{link_full_url}"
end
end
end

# Example: Scrape data for April 2024
scrape_calendar_data(2024, 4)

0 comments on commit 1d315b7

Please sign in to comment.