diff --git a/ytnotifier.py b/ytnotifier.py index dba0fd6..c23ba5c 100644 --- a/ytnotifier.py +++ b/ytnotifier.py @@ -82,7 +82,7 @@ async def _handle_video(video_id, video_title): too_many_attempts_count += 1 elif match := live_regex.match(message.rstrip('.')): end_schedule_time = match.group(1) or 0 - is_premiere = match.group(2).lower().startswith('premieres in ') + is_premiere = match.group(2).lower() == 'premieres' if is_premiere: notify_text = 'Premiere started' else: