Skip to content

A bot for booking Glastonbury tickets using selenium

License

Notifications You must be signed in to change notification settings

andythornley/glastoselenium

 
 

Repository files navigation

glastoselenium

A script/package I used to book Glastonbury tickets in 2019 using selenium.

It can refresh quicker than any human.

Requires a webdriver - only tested with chromedriver (http://chromedriver.chromium.org/)

Look in examples and script directories on how to use it.

Run:

python setup.py install

Then set the path to the driver via:

export CHROMEDRIVER=/path/to/chromedriver

Can use the package as:

import glasto as gl
...

Alternatively, the first version exists on PyPI and can be installed directly using pip:

pip install glasto

Some test sites are being added to the submodule test/sites - https://github.com/thomasms/testsites.

These mimic a real life web site that needs a lot of refreshing.

One React SPA exists so far.

Just run it locally via npm

cd test/sites
npm start

Then test the client script:

python test/testsite1.py

About

A bot for booking Glastonbury tickets using selenium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 75.7%
  • Python 24.2%
  • Shell 0.1%