A simple bot written in python to get Nasa's APOD images
Python 3.7 or greater.
Use StarLord is very simple, just follow this lines :)
$ pip3 install beautifulsoup4 requests loguru
from bot.StarLordBot import StarLordBot
starLord = StarLordBot()
starLord.fetchApodArchive()
starLord.getListOfLinks(15)
starLord.getAllPictures()
$ python example.py
If you wish, you can run StarLordBot inside a Docker container
# docker build -t starlord-bot /path/to/Dockerfile
# docker run --rm -it -v "$PWD":/app starlord-bot python /app/example.py
Want to help? Clone this repo and open your PR!
This bot is a very basic piece of code, and it's, by no means, the best and the cleanest way to implement a bot, but feel free to use and redistribute any way you want.