Browse Source

ログインの前に 60 s 待機(#4)

kiriban
みてるぞ 3 weeks ago
parent
commit
9ec4e67a99
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      main.py

+ 5
- 2
main.py View File

@@ -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


Loading…
Cancel
Save