All Projects → elpatronaco → pccomponentes-buy-bot

elpatronaco / pccomponentes-buy-bot

Licence: other
A script made to buy any out-of-stock product off spanish stores

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to pccomponentes-buy-bot

Chrome Aws Lambda
Chromium Binary for AWS Lambda and Google Cloud Functions
Stars: ✭ 2,502 (+7258.82%)
Mutual labels:  chromium, puppeteer
pupflare
A webpage proxy that request through Chromium (puppeteer) - can be used to bypass Cloudflare anti bot / anti ddos on any application (like curl)
Stars: ✭ 183 (+438.24%)
Mutual labels:  chromium, puppeteer
Phantomas
Headless Chromium-based web performance metrics collector and monitoring tool
Stars: ✭ 2,191 (+6344.12%)
Mutual labels:  chromium, puppeteer
Google Meet Scheduler
😴 Attends classes for you.
Stars: ✭ 150 (+341.18%)
Mutual labels:  chromium, puppeteer
LInkedIn-Reverese-Lookup
🔎Search LinkedIn profile by email address📧
Stars: ✭ 20 (-41.18%)
Mutual labels:  chromium, puppeteer
Secret Agent
The web browser that's built for scraping.
Stars: ✭ 151 (+344.12%)
Mutual labels:  chromium, puppeteer
Flaresolverr
Proxy server to bypass Cloudflare protection
Stars: ✭ 241 (+608.82%)
Mutual labels:  chromium, puppeteer
Puppeteer Docs Zh Cn
Google Puppeteer 文档的中文版本 , 目标版本 1.9.0, 翻译中...
Stars: ✭ 61 (+79.41%)
Mutual labels:  chromium, puppeteer
simplechrome
Webrecorders DevTools Protocol Automation Library
Stars: ✭ 16 (-52.94%)
Mutual labels:  chromium, puppeteer
playwright-demos
playwright for scrapping and UI testing / automate testing workflows
Stars: ✭ 65 (+91.18%)
Mutual labels:  chromium, puppeteer
Puppeteer Sharp
Headless Chrome .NET API
Stars: ✭ 2,122 (+6141.18%)
Mutual labels:  chromium, puppeteer
Recorder
A browser extension that generates Cypress, Playwright and Puppeteer test scripts from your interactions 🖱 ⌨
Stars: ✭ 277 (+714.71%)
Mutual labels:  chromium, puppeteer
Wendigo
A proper monster for front-end automated testing
Stars: ✭ 121 (+255.88%)
Mutual labels:  chromium, puppeteer
Reactopt
A CLI React performance optimization tool that identifies potential unnecessary re-rendering
Stars: ✭ 1,975 (+5708.82%)
Mutual labels:  chromium, puppeteer
Pyppeteer
Headless chrome/chromium automation library (unofficial port of puppeteer)
Stars: ✭ 1,286 (+3682.35%)
Mutual labels:  chromium, puppeteer
Chromium for spider
dynamic crawler for web vulnerability scanner
Stars: ✭ 220 (+547.06%)
Mutual labels:  chromium, puppeteer
Puppetron
Puppeteer (Headless Chrome Node API)-based rendering solution.
Stars: ✭ 429 (+1161.76%)
Mutual labels:  chromium, puppeteer
Headless Chrome Crawler
Distributed crawler powered by Headless Chrome
Stars: ✭ 5,129 (+14985.29%)
Mutual labels:  chromium, puppeteer
clusteer
Clusteer is a Puppeteer wrapper written for Laravel, with the super-power of parallelizing pages across multiple browser instances.
Stars: ✭ 81 (+138.24%)
Mutual labels:  chromium, puppeteer
throughout
🎪 End-to-end testing made simple (using Jest and Puppeteer)
Stars: ✭ 16 (-52.94%)
Mutual labels:  chromium, puppeteer

Buy bot

‼️ Está descontinuado. Aceptaré pull requests pero no arreglaré ni añadiré cosas.

If you support my work you can donate here:

DonateDonateDonate

A small buying bot made in node so you can get the 3080 you're dying for. (This could be outdated because of changes on the website. Pull requests are welcome)

⚠️ Disclaimer: Use of this bot is neither legal nor illegal (at least in Spain). Be sure to check the laws in your country first. You are responsible for you own actions and should never blame maintainers/contributors.

Currently supported stores:

  • PCComponentes
  • LDLC
  • Coolmod
  • Aussar (being worked on)
  • Amazon [You need to have 1-Click set-up]

en Español

How-to

You need to have the latest version of Node installed. You can install it here

Open the console and type

cd [directory of the project, e.g /usr/app/ or C://app]

Then install the node modules with the command

npm install

on the project folder. You need to edit the parameters in the data.json file inside the src/ directory.

"pccomponentes": {
  "email": "[email protected]",
  "password": "mariscosrecio",
  "items": [
    {
      "link": "https://www.pccomponentes.com/xiaomi-mi-computer-monitor-light-bar?gclid=Cj0KCQiAhP2BBhDdARIsAJEzXlFGPt39wcTtyjo0deaBkYmMFp7w0uHrSrSwFlMSCJzVJIUCZZYrQs0aAvfzEALw_wcB&",
      "maxPrice": 3000
    }
  ]
},

Finally run npm start and let it work

Known errors

Puppeteer on UNIX

If you are working with the bot on ARM architecture you possibly won't be able to work with the chromium build provided by puppeteer itself. To solve it you will need to install Chromium from an external source. You can do it with the default package manager on your UNIX flavour. By default, on Ubuntu/Debin you can do it like this:

sudo apt install chromium-browser

Once you have Chromium installed you will need to tell the bot where is it. You can check out the path of the installation with this command (on Ubuntu/Debian):

which chromium-browser

Once you've got Chromium's path (by default it's /usr/bin/chromium-browser), you need to add it in the headless section behind browserOptions on the file data.json. It looks like this:

{
  "browserOptions": {
    "headless": {
      "headless": true,
      "defaultViewport": null,
      "executablePath": "/usr/bin/chromium-browser" // path
    },
    "debug": {
      "headless": false,
      "args": ["--start-maximized"],
      "defaultViewport": null
    }
  }
}

Bot should now work properly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].