Skip to content

Commit

Permalink
feature: display login success message
Browse files Browse the repository at this point in the history
  • Loading branch information
RyouMon committed Dec 2, 2024
1 parent b422694 commit 8396e47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/favorites_crawler/commands/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def login_pixiv(
print(f'Failed to login. {e!r}')
else:
dump_config(config)
print("Login successful.")


@app.command('yandere')
Expand All @@ -68,6 +69,7 @@ def login_yandere(
yandere_config = config.setdefault('yandere', {})
yandere_config['USERNAME'] = username
dump_config(config)
print("Login successful.")


@app.command('x')
Expand Down Expand Up @@ -101,6 +103,7 @@ def login_twitter(
"Failed to login."
return
dump_config(config)
print("Login successful.")


def parse_twitter_likes_url(url):
Expand Down

0 comments on commit 8396e47

Please sign in to comment.