Remove a on Gravesong
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-01-19 15:04:48 +00:00
parent 23f9ce0f07
commit 37669e395c

View File

@ -17,10 +17,10 @@ def process(metadata, output_dir):
html = bs4.BeautifulSoup(response.content, "html.parser") html = bs4.BeautifulSoup(response.content, "html.parser")
entry_content = html.select_one("div.entry-content") entry_content = html.select_one("div.entry-content")
content_imgs = entry_content.find_all("img") content_as = entry_content.find_all("a")
for content_img in content_imgs: for content_a in content_as:
content_img.decompose() content_a.decompose()
chapter_title = "Introduction" chapter_title = "Introduction"
chapter_content = "" chapter_content = ""