A Python bot that scrapes random unsecured CCTV cameras and posts them to a Twitter account.
You can see the bot in action here on its Twitter page.
- Clone this repository to your local machine.
- Run
pip install -r requirements.txt
to install the necessary dependencies. - Set up a Twitter Developer account and obtain the necessary API credentials. You can find a guide here.
- Rename the
prod.env.example
file toprod.env
and add your API credentials in the following format:
CONSUMER_KEY=YOUR_CONSUMER_KEY
CONSUMER_SECRET=YOUR_CONSUMER_SECRET
ACCESS_TOKEN=YOUR_ACCESS_TOKEN
ACCESS_TOKEN_SECRET=YOUR_ACCESS_TOKEN_SECRET
BEARER_TOKEN=YOUR_BEARER_TOKEN
- Launch the bot by running
python .\src\main.py
.
This project was developed by John Q. Herman under the MIT license, with camera feeds sourced from Insecam.org.