A Twitter bot that tweets the latest updates, pictures, stats and news about the korean girl group BLACKPINK.
Follow the Bot on Twitter
Explore the docs »
·
Report Bug
·
Request Feature
A Twitter bot powered by AI that tweets the latest updates, pictures, stats and news about the korean girl group BLACKPINK.
The bot runs 24/7 on the Cloud thanks to GitHub Actions.
It uses a lot of sources to fetch the latest update about the group: Spotify, YouTube, Instagram, Twitter and more. Based on the data scraped from the web and the data already known (stored in a YAML file), the bot makes decisions and tweets updates.
The project is really modular and by editing the YAML file you can easily fork this repo and make a bot of another group or artist, with zero to minimal code changes.
Thanks to the latest updates of Twitter API pricing, the development and execution is suspended.
See https://github.com/marco97pa/Blackpink-Data/issues/31 for further details
To get a copy up and running follow these simple steps.
Make sure you have installed:
While not necessary, this project supports pyenv:
in that case all the python command will be 'python' instead of 'python3' and 'pip' instead of 'pip3'
git clone https://github.com/marco97pa/Blackpink-Data.git
pip3 install -r requirements.txt
Add the API KEYs
export TWITTER_CONSUMER_KEY='xxxx'
export TWITTER_CONSUMER_SECRET='xxxx'
export TWITTER_ACCESS_KEY='xxxx'
export TWITTER_ACCESS_SECRET='xxxx'
export YOUTUBE_API_KEY='xxxx'
export INSTAGRAM_ACCOUNT_USERNAME='xxxxxx'
export INSTAGRAM_ACCOUNT_PASSWORD='xxxxxx'
export SPOTIPY_CLIENT_ID='xxxx'
export SPOTIPY_CLIENT_SECRET='xxxx'
For detailed instructions see the related page of the Documentation
You can launch the bot by running:
python3 main.py
For more details, please refer to the Run section of the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)If you are adding a new module, please check the documentation and follow the style of other modules.
Distributed under the MIT License. See LICENSE
for more information.
Marco Fantauzzo - @data_blackpink - marco97pa@live.it
Project Link: https://github.com/marco97pa/Blackpink-Data