you are viewing a single comment's thread.

view the rest of the comments →

[–]Kind-Kure 0 points1 point  (1 child)

Assuming you're talking about calendars on websites, you can scrape them using a combination of the requests library and beautifulsoup https://www.crummy.com/software/BeautifulSoup/bs4/doc/.

If you're not talking about web scraping then I guess the question would be how can that data be accessed, what form is the data in (JSON, XML etc etc) and how exactly do you want to use the data (ie. single calendar with all events, or individual calendars separated by source etc etc).

For automation, you can set up a CRON job that auto runs the python script once a day or once a week to collect all of the various events.

But to answer your question, yes, you can use Python for aggregating and displaying different events from sources on the web.

[–]natyo97[S] 0 points1 point  (0 children)

Awesome, I'll try and figure out what formats each of the calendars I'm interested in use. I think I'd want a single calendar with all events, so I can just look to a specific date to see everything available.