This commit is contained in:
tema 2022-11-05 22:37:27 +02:00
parent f1d892b710
commit 1a51ffa070
Signed by: tema
GPG Key ID: 21FDB6D162488F6F

View File

@ -25,7 +25,7 @@ def table_parser(soup: BeautifulSoup, output):
def image_parser(soup: BeautifulSoup): def image_parser(soup: BeautifulSoup):
main = soup.find("main") main = soup.find("main")
image = main.select_one('img[src$=".jpg"]') image = main.find('img[src$=".jpg"]')
output = image['src'] output = image['src']
return output return output