1
0
Fork 0

refactor!: change the entire purpose of this script

This commit is contained in:
Arthur K. 2026-03-01 19:32:10 +03:00
parent 217e176975
commit 71d1050adb
Signed by: wzray
GPG key ID: B97F30FDC4636357
20 changed files with 1124 additions and 872 deletions

View file

@ -0,0 +1,16 @@
from abc import ABC, abstractmethod
from playwright.async_api import BrowserContext
class BaseProvider(ABC):
def __init__(self, browser_session: BrowserContext):
self.browser_session = browser_session
@abstractmethod
async def get_new_email(self) -> str:
pass
@abstractmethod
async def get_latest_message(self, email: str) -> str | None:
pass