Remove all images sadly
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-01-19 14:26:07 +00:00
parent 0b4d923c3b
commit 2700e0302d

3
twi.py
View File

@ -16,12 +16,15 @@ def fetchVolume(title, metadata, volume_title, output_dir, links):
a_remove = chapter_content.find_all("a") a_remove = chapter_content.find_all("a")
hr_remove = chapter_content.find_all("hr") hr_remove = chapter_content.find_all("hr")
img_remove = chapter_content.find_all("img")
div_remove = chapter_content.select("div.tiled-gallery") div_remove = chapter_content.select("div.tiled-gallery")
for removed in a_remove: for removed in a_remove:
removed.decompose() removed.decompose()
for removed in hr_remove: for removed in hr_remove:
removed.decompose() removed.decompose()
for removed in img_remove:
removed.decompose()
for removed in div_remove: for removed in div_remove:
removed.decompose() removed.decompose()