fix image parse

This commit is contained in:
tema 2022-10-28 13:57:30 +03:00
parent a5b26beba0
commit f1d892b710
Signed by: tema
GPG Key ID: 21FDB6D162488F6F

View File

@ -24,7 +24,7 @@ def table_parser(soup: BeautifulSoup, output):
def image_parser(soup: BeautifulSoup):
main = soup.find("p", style="text-align:center; margin:0cm 0cm 8pt")
main = soup.find("main")
image = main.select_one('img[src$=".jpg"]')
output = image['src']