Giter Club home page Giter Club logo

ticketswap-watch's Introduction

ticketswap-watch

This script check Ticketswap periodically for new ticket available on sale and gives notification on your computer.

This works with tickets that have variations in their ticket.

How to use

  • Pull the script
  • Change your event url in the script.
  • Install the required packages: npm install co co-request cheerio lodash node-notifier child_process
  • Run node app.js
  • Profit!

You may also change:

Windows users:

Change open by start line 48: exec(`start ${url}`);

Linux users:

Change open by xdg-open line 48: exec(`xdg-open ${url}`);

This isn’t always installed, so make sure the xdg-utils package is installed (the name of the package is xdg-utils on at least Fedora, Debian, and Ubuntu; it may have a different name on some other distributions).

Optional stuff:

You can also change the check interval in the end of the file, currently this script run every 600000ms. You can change this number but any lower number is not recomended since ticketswap has a anti robot system to prevent fetching. In this case you will have to visit their webpage and click I am not a robot for the script to work again.

Contribution:

You are more than welcome to creat a PR if there's anything you want to add to this script.

ticketswap-watch's People

Contributors

alberto-vazquez avatar ducdigital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ticketswap-watch's Issues

"Cannot find module 'co"

Hi,

I get the following error as i run your script

Error: Cannot find module 'co'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Program Files\nodejs\app.js:3:12)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

i'm using nodejs 6.10.3 on Windows 10
Is there anything i need preinstalled for the script?

Ticket Swap watch

Hi there :)

Just to test it, I put a link to an event where there were some tickets and the script doesn t seem to work. Is there any updates to make so it would work please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.