From 1a51ffa070f1465e5f4c11bd9267a6d489c50986 Mon Sep 17 00:00:00 2001 From: tema Date: Sat, 5 Nov 2022 22:37:27 +0200 Subject: [PATCH] fix --- parser/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/utils.py b/parser/utils.py index a1ba8e3..429d599 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.select_one('img[src$=".jpg"]') + image = main.find('img[src$=".jpg"]') output = image['src'] return output