Skip to content

Scrape CinemaCon schedule and generate Outlook-importable calendar#2

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/scrape-cinemacon-event-data
Draft

Scrape CinemaCon schedule and generate Outlook-importable calendar#2
Copilot wants to merge 2 commits into
mainfrom
copilot/scrape-cinemacon-event-data

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 29, 2026

Adds a Python tool that fetches the CinemaCon schedule from https://www.cinemacon.com/en/schedule-of-events, parses all events, and emits a standards-compliant .ics file importable into Outlook (or any iCalendar app).

New modules

  • scraper.py — Fetches and parses the schedule page via three progressive strategies: table-based → heading+card → plain-text heuristic fallback. Handles a.m./p.m. dot-notation, shared AM/PM suffixes (6:30–8:45 p.m.), 24-hour formats, and auto-detects the event year from page content.
  • calendar_integration.py — Converts CinemaConEvent objects to RFC 5545 VEVENT entries. Uses zoneinfo.ZoneInfo("America/Los_Angeles") for correct DST-aware UTC conversion (PDT/PST). Falls back to a 1-hour duration when end time is absent.
  • main.py — CLI entry point with --output, --url, and --verbose flags.

Usage

pip install -r requirements.txt
python main.py                        # → cinemacon_events.ics
python main.py --output my_cal.ics

Import into Outlook via File → Open & Export → Import/Export → Import an iCalendar (.ics) file.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • attractionsmagazine.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • thedirect.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • www.cinemacon.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Copilot AI changed the title [WIP] Scrape data from CinemaCon schedule of events Scrape CinemaCon schedule and generate Outlook-importable calendar Mar 29, 2026
Copilot AI requested a review from OyeThakkar March 29, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants