testing #3

Merged
tema merged 3 commits from testing into master 2022-11-13 11:40:14 +03:00
Showing only changes of commit 66283e0730 - Show all commits

View File

@ -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