fix image parse
This commit is contained in:
parent
a5b26beba0
commit
f1d892b710
@ -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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user