Syntax - Tasty Web Development Treats

Hasty Treat - How Would We Script a PS5 Buying Bot?

Dec 21, 2020
Dive into the wild world of PS5 bots! Discover clever strategies for snagging a console, from constantly refreshing Reddit to using cutting-edge web scraping techniques. Our hosts share personal anecdotes and the hurdles of CAPTCHA and IP blocks. They also explore the evolving challenges of e-commerce during high-demand releases and the nostalgic hacks for finding elusive gaming gems like the PlayStation 2. Engage with their humorous takes on this tech-driven quest for gaming success!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Scott's PS5 Strategy

  • Scott Talinsky's PS5 strategy involved refreshing Reddit for pre-order links.
  • He avoided bot-prone sites and aimed to secure a pre-order quickly.
ADVICE

Finding Stock Information

  • To find stock, check websites for API endpoints revealing availability.
  • Use browser DevTools (Network tab, XHR filter) to monitor requests.
ADVICE

Scraping Websites

  • If no API exists, scrape the site's HTML using fetch(url).text().
  • Use regex, Cheerio, or Puppeteer to extract stock data.
Get the Snipd Podcast app to discover more snips from this episode
Get the app