Skip to content

A bot capable of buying an out-of-stock product in pccomponentes.com in under 10 seconds

Notifications You must be signed in to change notification settings

nightkall/pccomponentes-buy-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCComponentes buy bot

A small buying bot made in node for pccomponentes.com so you can get the 3080 you're dying for. Since it finds stock till it buys there's an avg time of 10 seconds because of Selenium limitations (while adding credit/debit card, without having to add it speeds up ≃ 2 seconds), but I'm working to take it down further (This could be outdated because of changes on the website. Pull requests are welcome)

How-to

A few things are needed for the bot to work. Node installed and the chromedriver for the release of your chrome installation (you can install it from here)

Install the node modules with the command npm install on the project folder. Then you need to edit the parameters in the index.ts file. Note that if you don't have a credit/debit card in your pccomponentes account you can add a card here so the bot will add it in the buying process, but it's not required. Also the script is able to send SMS to your phone with info about the process, if you don't want to, delete the phone from the parameters.

const card: ICard = {
  name: 'AMADOR RIVAS LOPEZ',
  num: '5137422665338597',
  expiryDate: '0421',
  cvc: '668'
}

const app = new Bot({
  email: '[email protected]',
  password: 'yoquese',
  phone: '+34612304123',
  card: card,
  link: 'https://www.pccomponentes.com/msi-rtx-3060-ti-ventus-2x-oc-8gb-gddr6',
  maxPrice: 440,
  refreshRate: 5000
})

app.run()

Finally run npm start and let it work

About

A bot capable of buying an out-of-stock product in pccomponentes.com in under 10 seconds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.7%
  • JavaScript 1.3%