Add README

This commit is contained in:
Sam
2025-05-29 13:12:06 +10:00
parent 60959a0d76
commit f7c2b3663f

28
README.md Normal file
View File

@ -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 <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
```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`