fix image parse #2

Merged
tema merged 1 commits from testing into master 2022-10-28 13:59:29 +03:00

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']