diff --git a/MarketPlaces/CypherMarketplace/parser.py b/MarketPlaces/CypherMarketplace/parser.py index 4f5fd53..c1f8e71 100644 --- a/MarketPlaces/CypherMarketplace/parser.py +++ b/MarketPlaces/CypherMarketplace/parser.py @@ -174,7 +174,7 @@ def cyphermarketplace_listing_parser(soup): success = [] # 20 Vendor_Successful_Transactions href = [] # 23 Product_Links (Urls) - listing = soup.findAll('div', {"class": "card"}) + listing = soup.findAll('div', {"class": "col-12"}) # Populating the Number of Products nm = len(listing) @@ -281,10 +281,10 @@ def cyphermarketplace_links_parser(soup): # Returning all links that should be visited by the Crawler 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: - bae = a.find('div', {"class": "card-body"}).find('a', {"class": "text-info"}, href=True) + bae = a.find('a', href=True) link = bae['href'] href.append(link)