Skip to content

Commit 4fe44f0

Browse files
Update image size threshold to 750 KB (#236)
Signed-off-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
1 parent 4483fd6 commit 4fe44f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/check_image_sizes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020

2121

22-
def check_image_sizes(download_dir, website, threshold_kb=500, max_workers=32, ignore_gifs=False):
22+
def check_image_sizes(download_dir, website, threshold_kb=750, max_workers=32, ignore_gifs=False):
2323
"""Check image sizes in downloaded HTML files and report large images."""
2424
print(f"Scanning {download_dir} for images...")
2525
unique_images = defaultdict(set)

0 commit comments

Comments
 (0)