diff --git a/parser/utils.py b/parser/utils.py index 429d599..6733995 100644 --- a/parser/utils.py +++ b/parser/utils.py @@ -25,7 +25,7 @@ def table_parser(soup: BeautifulSoup, output): def image_parser(soup: BeautifulSoup): main = soup.find("main") - image = main.find('img[src$=".jpg"]') - output = image['src'] + image = main.select('img[src$=".png"]') + output = image[0]['src'] return output