testing #11

Merged
tema merged 16 commits from testing into master 2023-03-28 10:31:08 +03:00
Showing only changes of commit 1a51ffa070 - Show all commits

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