This project is a simple command line tool for fetching XKCD comics and posting them to your vk group wall.
- Download random XKCD comics image and title
- Publish it as VK group post
- Clone project
git clone https://github.com/nekto007/xkcd.git
cd xkcd
- Create virtual environment
python3 -m venv venv
source venv/bin/activate
- Rename
.env.example
to.env
and place your secrets accordingly
VK_CLIENT_ID=219280465
VK_ACCESS_TOKEN=place_your_token_here
VK_GROUP_ID=219280465
- Install requirements
pip install -r requirements.txt
- Run
python main.py