A automatic script to take screenshot of every sunset and sunset from a live stream and publish them to your lark status.
Follow the instruction on Official Website
pip install -r src/requirements.txt
The task should be run every minute. Change the path of Python Interpreter and main file on command below if you use a virtual environment.
* * * * * export cookie=xxxx && export longitude=xxxx && export latitude=xxxx && export api_key=xxxx && export stream_url=xxxx && python main.py