fix
This commit is contained in:
parent
f1d892b710
commit
1a51ffa070
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user