diff --git a/parser/utils.py b/parser/utils.py index 5e8c9e7..a1ba8e3 100644 --- a/parser/utils.py +++ b/parser/utils.py @@ -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']