curious-greg/run.py

13 lines
398 B
Python
Raw Normal View History

#!/usr/bin/env python3
#Curious Greg - Curious Cat to Mastodon crossposter
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
2018-11-13 02:49:23 +00:00
import json, time
from mastodon import Mastodon
2018-11-13 02:49:23 +00:00
import requests
import mysql.connector
cfg = json.load(open('meta.json'))