meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

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

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.9 • 1.2K Ratings

🗓️ 21 December 2020

⏱️ 16 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about the PS5 bot debacle, and how they would do it differently! LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax. Show Notes 03:12 - Scott’s strategy Go to Reddit and refresh until someone posts a link and then GO GO GO Don’t buy on sites that allow simple bots to work TBH I don’t know how to code this type of bot and would prob end up accidentally buying a ton of stuff 05:06 - Wes’ strategy https://mcbroken.com/ You need a way to find out of there is stock Find out of there is an API endpoint you can hit (inspect element) If there is not, you’ll need to scrape the site. Fetch(url). text() Regex Cheerio Puppeteer (slower, easier to run) Save any data that you want in a database. Text-based database is great. Lowdb SQLite DynamoDB (if doing serverless) Re-run the scrape every N mins When there IS a match you can: Send a text message - Twilio Send an email - Postmark Try to fill out the form and submit it yourself document.querySelector() 11:35 - Things that get in the way Blocked IP Use a VPN Captcha or Cloudflare Run it on your local computer Use Puppeteer to get all cookies and headers Links https://twitter.com/bahamagician/status/1329430249151533066 stocktrack.ca Tweet us your tasty treats! Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday, Monday, Monday,

0:02.0

Open wide Dev fans.

0:04.0

Get ready to stuff your face

0:06.0

with JavaScript, CSS, node modules, barbecue tips,

0:09.0

get workflows,

0:10.0

break dancing, soft skills, web development,

0:12.0

the hastiest, the craziest, the craziest development the hastiest the craziest the tastiest web development treats coming in hot here is

0:18.1

Wes Barracuda bars and Scott El Torloco, Tolinsky.

0:24.0

Welcome to Syntax.

0:28.0

In this Monday hasty treat, we are going to be talking about bots and specifically around the whole

0:34.7

PlayStation 5 buying debacle where people have been trying to buy a PlayStation 5 and

0:39.7

unable to because bots! dang these bots.

0:43.4

It's going to be a good one here and I'm really excited to talk to you about my strategy,

0:48.7

which I've listed as Scott's strategy.

0:50.4

It's very good.

0:51.5

My name is Scott Tolinsky. I'm a web developer from

0:54.3

Keep on I I almost said I'm a level up developer from level up

0:58.6

tutorials and then I almost said I'm a web developer from level up

1:01.0

tutorials. I'm a web developer from Denver, Colorado. My

1:04.4

name is Scott Tolinsky. Yes, I am killing this intro and with me as always is

1:09.1

Wes. Hey everybody. Hey Wes, this episode is sponsored by one of our favorite sponsors over here at syntax and that's Log Rocket. Now Log Rocket, I don't know if you've caught on to this, but all of our sponsors are our favorite sponsors, in case you're wondering. Log Rocket at log rocket.com is a

1:25.8

really neat service and this is actually kind of a funny thing that I wanted to bring

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.