diff --git a/scl.py b/scl.py index 56601a2..6fac893 100644 --- a/scl.py +++ b/scl.py @@ -1,19 +1,11 @@ from datetime import datetime -import requests -from bs4 import BeautifulSoup -from mastodon import Mastodon -import sqlite3 -from typing import List from typing import Optional -from sqlalchemy import ForeignKey, select -from sqlalchemy import String -from sqlalchemy.orm import DeclarativeBase -from sqlalchemy.orm import Mapped -from sqlalchemy.orm import Session -from sqlalchemy.orm import mapped_column -from sqlalchemy.orm import relationship + +import requests +from mastodon import Mastodon +from sqlalchemy import create_engine, select from sqlalchemy.exc import NoResultFound -from sqlalchemy import create_engine +from sqlalchemy.orm import DeclarativeBase, Mapped, Session, mapped_column post_datetime_format = "%b %e %l:%M %p"