ログインの前に 60 s 待機(#4)
このコミットが含まれているのは:
@@ -61,6 +61,8 @@ def get_thread_contents (
|
||||
|
||||
def main (
|
||||
) -> None:
|
||||
time.sleep (60)
|
||||
|
||||
client = Client (base_url = 'https://bsky.social')
|
||||
|
||||
client.login (account.USER_ID, account.PASSWORD)
|
||||
@@ -70,8 +72,6 @@ def main (
|
||||
has_taken_hot_spring = False
|
||||
watched_videos = []
|
||||
while True:
|
||||
time.sleep (60)
|
||||
|
||||
now = datetime.now ()
|
||||
|
||||
for uri in check_notifications (client):
|
||||
@@ -189,6 +189,9 @@ def main (
|
||||
client.post (Talk.main ('今どうしてる?'))
|
||||
last_posted_at = now
|
||||
|
||||
time.sleep (60)
|
||||
|
||||
|
||||
|
||||
def get_embed_info (
|
||||
url: str
|
||||
|
||||
新しい課題から参照
ユーザをブロックする