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