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 #31 for further details
- Python 3
- Tweepy
- pillow
- instagrapi
- python-youtube
- spotipy
- billboard.py
To get a copy up and running follow these simple steps.
Make sure you have installed:
- Python 3.8
- pip
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'
- Clone the repo
git clone https://github.com/marco97pa/Blackpink-Data.git
- Install requirements
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
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