import urllib.request
import re

url = "https://charity-boat-race.base44.app/assets/index-DASgGjMp.js"
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
try:
    with urllib.request.urlopen(req) as response:
        js = response.read().decode('utf-8')
        
        # Look for the hero section of Activities
        match = re.search(r'.{0,300}Activities & Fun.{0,300}', js)
        if match:
            print("ACTIVITIES HERO:")
            print(match.group(0))
except Exception as e:
    pass
