Project aimed to crawl Ticketswap listings on Facebook event and automatically opening the Ticketswap link in your browser as soon as it's posted. This (automatically) reserves the ticket for the user and is faster than refreshing on your own and clicking on the link. Uses official Facebook API and doesn't crawl Ticketswap making it possible to run for hours in the background without getting blocked by Ticketswap.
The current interval is 2 seconds and I'm testing Facebook's request limit.
Runs on:
- Python=>3.0
- Python facebook-sdk
git clone https://github.com/MartijnDevNull/ticketnak.git
cd ticketnak
virtualenv --python=/usr/bin/python3 env
source env/bin/activate
pip3 install -r requirements.txt
cd src
cp facebook.ini-default facebook.ini
See Running for configration options
Make sure you have the configuration file (facebook.ini) setup with your Facebook event id. This can be found in the URL, for example:
- URL: https://www.facebook.com/events/1452202511485808/
- Eventid: 1452202511485808
Next create add your FB_APP_ID and FB_APP_SECRET found in Facebook developer. Create a new app if none exist
After this login to Ticketswap and get the session cookie so the ticket is automatically added to cart (TODO: set ticket amount, now default 1)
You can run Ticketnak with:
python3.x ticketnack.py
Replace with your version of Python 3
- Facebook SDK - Python SDK for Facebook's Graph API
- TicketScoop - Automatic reservation of tickets is based on this project
This project is licensed under the GPL v3 - see the LICENSE file for details