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 --version
And visit this page if you don't.
git clone https://github.com/MilanBarande/ticketswoop.git && cd ticketswoop
npm install
OR
yarn
- Open the
constants.js
file and replace the values forEVENT_URL
,MINIMUM_PRICE
,executablePath
anduserDataDir
. - Enter your payment credentials with the
CREDIT_CARD_NUMBER
,EXPIRATION_DATE
,CVC
andCARDHOLDER_NAME
variables 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
headless
value tofalse
in 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_REAL
totrue
. - 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_URL
with the desired event and set theIS_FOR_REAL
variable totrue
. - You can now setup a crontab to have the bot run every minute (for example).