From f7c2b3663f39e837b5c3e945b36adfb00b0977c8 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 29 May 2025 13:12:06 +1000 Subject: [PATCH] Add README --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3410396 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# 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 + +```bash +python generate_links.py -g guest1@example.com -g guest2@example.com +``` + +- ``: The URL of the page containing the event table. +- `-g`: (Optional) Add one or more guest email addresses. + +## Example + +```bash +python generate_links.py https://newsletters.naavi.com/i/JKdOO0M/issue-16/page/5 -g joanna.gilligan@gmail.com +``` + +## Output + +- Generates an `calendar_links.html` file with clickable Google Calendar links. + +## Requirements + +- Python 3.x +- `requests` +- `beautifulsoup4`