mirror of
https://github.com/cquest/tootbot.git
synced 2024-11-27 14:01:07 +00:00
reorg modules
This commit is contained in:
parent
722e7192dd
commit
720aff1abd
10
tootbot.py
10
tootbot.py
|
@ -1,12 +1,12 @@
|
||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
import feedparser
|
|
||||||
from mastodon import Mastodon
|
|
||||||
import json
|
|
||||||
import requests
|
|
||||||
import re
|
import re
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from datetime import datetime, date, time, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
|
import feedparser
|
||||||
|
from mastodon import Mastodon
|
||||||
|
import requests
|
||||||
|
|
||||||
if len(sys.argv) < 4:
|
if len(sys.argv) < 4:
|
||||||
print("Usage: python3 tootbot.py twitter_account mastodon_login mastodon_passwd mastodon_instance")
|
print("Usage: python3 tootbot.py twitter_account mastodon_login mastodon_passwd mastodon_instance")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user