From 437492e623a596e7d72b10256b0c8089c2cb02dc Mon Sep 17 00:00:00 2001 From: IshaAtteri Date: Thu, 12 Mar 2026 12:16:51 -0400 Subject: [PATCH] small changes --- scripts/scrape.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/scrape.py b/scripts/scrape.py index 4356d3c6f..a5fbadf8f 100644 --- a/scripts/scrape.py +++ b/scripts/scrape.py @@ -52,7 +52,6 @@ def extract_movie_info(file_path): directed_by = data.get_text(" ", strip=True) elif header_text == "Starring": - # Get cast members split by
or links/text cast_items = list(data.stripped_strings) cast = cast_items[:5] @@ -64,11 +63,9 @@ def extract_movie_info(file_path): plot_header = soup.find(id="Plot") if plot_header: - # Move to the parent heading container if needed current = plot_header.parent for sibling in current.find_next_siblings(): - # Stop when next h2 section begins if sibling.name == "div" and "mw-heading2" in sibling.get("class", []): break if sibling.name == "p":