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()