diff --git a/reply.py b/reply.py index a3f0f2b..b71da2d 100755 --- a/reply.py +++ b/reply.py @@ -10,9 +10,9 @@ from bs4 import BeautifulSoup cfg = json.load(open('config.json', 'r')) -api_base_url = "https://knzk.me" client = mastodon.Mastodon( - client_id="clientcred.secret", + client_id=cfg['client']['id'], + client_secret=cfg['client']['secret'], access_token="usercred.secret", api_base_url=cfg['site'])