|
@ -174,7 +174,7 @@ def cyphermarketplace_listing_parser(soup): |
|
|
success = [] # 20 Vendor_Successful_Transactions |
|
|
success = [] # 20 Vendor_Successful_Transactions |
|
|
href = [] # 23 Product_Links (Urls) |
|
|
href = [] # 23 Product_Links (Urls) |
|
|
|
|
|
|
|
|
listing = soup.findAll('div', {"class": "card"}) |
|
|
|
|
|
|
|
|
listing = soup.findAll('div', {"class": "col-12"}) |
|
|
|
|
|
|
|
|
# Populating the Number of Products |
|
|
# Populating the Number of Products |
|
|
nm = len(listing) |
|
|
nm = len(listing) |
|
@ -281,10 +281,10 @@ def cyphermarketplace_links_parser(soup): |
|
|
# Returning all links that should be visited by the Crawler |
|
|
# Returning all links that should be visited by the Crawler |
|
|
|
|
|
|
|
|
href = [] |
|
|
href = [] |
|
|
listing = soup.findAll('div', {"class": "col-12 col-sm-6 col-md-4 my-1"}) |
|
|
|
|
|
|
|
|
listing = soup.findAll('div', {"class": "col-12"}) |
|
|
|
|
|
|
|
|
for a in listing: |
|
|
for a in listing: |
|
|
bae = a.find('div', {"class": "card-body"}).find('a', {"class": "text-info"}, href=True) |
|
|
|
|
|
|
|
|
bae = a.find('a', href=True) |
|
|
link = bae['href'] |
|
|
link = bae['href'] |
|
|
href.append(link) |
|
|
href.append(link) |
|
|
|
|
|
|