HTML Events to Google Calendar Links
This script extracts event data from an HTML table and generates Google Calendar "Add to Calendar" links, including support for guest emails.
Usage
python generate_links.py <url> -g guest1@example.com -g guest2@example.com
<url>: The URL of the page containing the event table.-g: (Optional) Add one or more guest email addresses.
Example
python generate_links.py https://newsletters.naavi.com/i/JKdOO0M/issue-16/page/5 -g joanna.gilligan@gmail.com
Output
- Generates an
calendar_links.htmlfile with clickable Google Calendar links.
Requirements
- Python 3.x
requestsbeautifulsoup4
Description
Languages
Python
98.7%
HTML
1.3%