Skip to content

Instantly share code, notes, and snippets.

@Saberre
Last active December 19, 2015 15:59
Show Gist options
  • Save Saberre/5980488 to your computer and use it in GitHub Desktop.
Save Saberre/5980488 to your computer and use it in GitHub Desktop.
My notes about making Steam Sale Crawler
Daily Deal - Spotlight
- Base: .tradingcard_spotlight_ctn
- An Item: .tradingcard_spotlight > a
- Same as Daily Deal
- Always Supports Trading Cards
Daily Deal
- Base: .summersale_dailydeals
- An Item: .summersale_dailydeal_ctn > a
- Link: prop - href
- Supports Trading Cards: .dailydeal_tradingcard_banner
- Discount Percentage: .discount_pct
- Original Price: .discount_original_price
- Final Price: .discount_final_price
Flash Deal
- Base: #summersale_flashsales
- An Item: .summersale_dailydeal_ctn > a
- Same as Daily Deal
Community Vote
- Base: #summersale_communitychoice
- Running Deal
- An Item: a.communitychoice
- Same as Daily Deal
- Waiting Community's Choices
- An Item: .vote_option
- Almost same as Daily Deal, but...
- Discount Percentage: .discount (needs trimming)
- No information about Trading Cards
- Vote Ended
- 'closed' class on .vote_options
- 'winner' class on the winner of vote
- Vote Percentage: .vote_option_result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment