|
@@ -24,4 +24,15 @@ for name in gameName:
|
|
|
for tag in span:
|
|
for tag in span:
|
|
|
gameNames.append(tag.text)
|
|
gameNames.append(tag.text)
|
|
|
|
|
|
|
|
-print gameNames
|
|
|
|
|
|
|
+print gameNames
|
|
|
|
|
+
|
|
|
|
|
+discount = soup.findAll('div', {'class': 'col search_discount'})
|
|
|
|
|
+
|
|
|
|
|
+# Get all game discounts
|
|
|
|
|
+gameDiscounts = []
|
|
|
|
|
+for discountedGame in discount:
|
|
|
|
|
+ span = discountedGame.findAll('span')
|
|
|
|
|
+ for tag in span:
|
|
|
|
|
+ gameDiscounts.append(tag.text)
|
|
|
|
|
+
|
|
|
|
|
+print gameDiscounts
|