We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3941d08 commit 54ff29dCopy full SHA for 54ff29d
src/meetings.py
@@ -111,8 +111,11 @@ async def parse_meetings(html: str) -> List[Dict[str, str]]:
111
112
if onclick_match:
113
meeting_data["video"] = f"https:{onclick_match.group(1)}"
114
- meeting_data["clip_id"] = re.search(clip_id_exp, onclick).group(1)
115
-
+ clip_id_match = re.search(clip_id_exp, onclick)
+ if clip_id_match:
116
+ meeting_data["clip_id"] = clip_id_match.group(1)
117
+ else:
118
+ meeting_data["clip_id"] = None
119
if not meeting_data["video"]:
120
href = video_link.attributes.get("href", "")
121
if href.startswith("javascript:"):
0 commit comments