konatasick / RSS2toot

RSS搬运到长毛象的脚本:

Home Page:https://hello.2heng.xin/@arknights

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSS2toot

A simple script that transport dynamic from RSS to Mastodon. You can modify utils/feed_decoder.py according to your RSS source.

一个将RSS动态搬运到长毛象的脚本。可根据需要自行调整utils/feed_decoder.py进行格式化。

pip3 install -r requirements.txt
cp conf.sample.json conf.json
nano conf.json
python3 run.py

crontab job setting:

crontab -e

or (Ubuntu 18.04)

nano /etc/crontab
/etc/init.d/cron restart

Recommand do job hourly:

#m h dom mon dow user  command
13 *    * * *   root    cd /RSS2toot && python3 run.py

About

RSS搬运到长毛象的脚本:

https://hello.2heng.xin/@arknights

License:MIT License


Languages

Language:Python 100.0%