Ticketswoop is a puppeteer-based bot to buy tickets on ticketswap when they are too difficult to buy by only relying on availability alerts.
node --versionAnd visit this page if you don't.
git clone https://github.com/MilanBarande/ticketswoop.git && cd ticketswoopnpm installOR
yarn- Open the
constants.jsfile and replace the values forEVENT_URL,MINIMUM_PRICE,executablePathanduserDataDir. - Enter your payment credentials with the
CREDIT_CARD_NUMBER,EXPIRATION_DATE,CVCandCARDHOLDER_NAMEvariables if you wish to make an actual purchase. - Open Google Chrome and login to your Facebook account. If asked, tell Facebook to remember this browser.
- Quit Chrome entirely
- In the puppeteerConfig variable, change the
headlessvalue tofalsein order to see if the bot is working. You may want to use an event for which there are tickets available to see it reach the final step of payment. The bot will not make an actual purchase as long as you havent set the constantIS_FOR_REALtotrue. - Launch the bot with the following command
node script.js- If the bot reaches the last payment with your test ticket, you can now replace the
EVENT_URLwith the desired event and set theIS_FOR_REALvariable totrue. - You can now setup a crontab to have the bot run every minute (for example).