2017-05-28 07:41:05 +00:00
|
|
|
# activate virtualenv if necessary
|
|
|
|
# source /home/cquest/.virtualenvs/tootbot/bin/activate
|
|
|
|
|
|
|
|
# parameters:
|
2019-04-03 15:52:36 +00:00
|
|
|
# 1- twitter account to clone / or rss/atom feed URL
|
2017-05-28 07:41:05 +00:00
|
|
|
# 2- mastodon login
|
|
|
|
# 3- mastodon password
|
|
|
|
# 4- instance domain (https:// is automatically added)
|
2019-04-03 15:52:36 +00:00
|
|
|
# 5- max age (in days)
|
|
|
|
# 6- footer tags to add (optionnal)
|
2017-05-28 07:41:05 +00:00
|
|
|
|
2018-10-19 13:52:35 +00:00
|
|
|
python3 tootbot.py geonym_fr geonym@amicale.net **password** test.amicale.net
|
|
|
|
python3 tootbot.py cq94 cquest@amicale.net **password** test.amicale.net
|
2019-04-03 15:52:36 +00:00
|
|
|
|
|
|
|
python3 tootbot.py https://www.data.gouv.fr/fr/datasets/recent.atom cquest+opendata@amicale.net **password** amicale.net 2 "#dataset #opendata #datagouvfr"
|