testing #11
@ -24,7 +24,7 @@ def table_parser(soup: BeautifulSoup, output):
|
|||||||
|
|
||||||
|
|
||||||
def image_parser(soup: BeautifulSoup):
|
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"]')
|
image = main.select_one('img[src$=".jpg"]')
|
||||||
output = image['src']
|
output = image['src']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user