fix image parse #2

Merged
tema merged 1 commits from testing into master 2022-10-28 13:59:29 +03:00
Showing only changes of commit f1d892b710 - Show all commits

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