From 0b4d923c3b7d1a57c780da10deb829f50563fa5b Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 19 Jan 2022 13:16:02 +0000 Subject: [PATCH] Fix tiled-gallery --- twi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twi.py b/twi.py index 9547066..adcfe8a 100644 --- a/twi.py +++ b/twi.py @@ -16,7 +16,7 @@ def fetchVolume(title, metadata, volume_title, output_dir, links): a_remove = chapter_content.find_all("a") hr_remove = chapter_content.find_all("hr") - div_remove = chapter_content.find_all("div.tiled-gallery") + div_remove = chapter_content.select("div.tiled-gallery") for removed in a_remove: removed.decompose()