scrape imahe url from listing
This commit is contained in:
parent
0691418365
commit
9e7e0fb7cd
@ -29,10 +29,12 @@ def scrape_listing(url):
|
||||
|
||||
#print(soup.find("div", class_="vim x-item-title").span.text)
|
||||
#print(soup.find("span", id="prcIsum")["content"])
|
||||
#print(soup.find("img", id="icImg")["src"])
|
||||
|
||||
listing = {
|
||||
'title': soup.find("div", class_="vim x-item-title").span.text,
|
||||
'price': float(soup.find("span", id="prcIsum")["content"])
|
||||
'price': float(soup.find("span", id="prcIsum")["content"]),
|
||||
'image': soup.find("img", id="icImg")["src"]
|
||||
}
|
||||
|
||||
return listing
|
||||
|
Loading…
Reference in New Issue
Block a user