You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
446 B
19 lines
446 B
2 years ago
|
import os
|
||
|
|
||
|
# Which instance to login to
|
||
|
instance = 'https://social.lumbung.space'
|
||
|
|
||
|
# n.b. if it is the first time you use this script
|
||
|
# You need to register the app:
|
||
|
# https://mastodonpy.readthedocs.io/en/stable/#module-mastodon
|
||
|
|
||
|
# Login credentials for bot account
|
||
|
email = ''
|
||
|
password = ''
|
||
|
|
||
|
# Which hashtags to publish
|
||
|
hashtags = ['jalansesama']
|
||
|
|
||
|
# your Hugo content directory
|
||
|
output_dir = os.environ.get('OUTPUT_DIR', 'path/to/hugo/content')
|