Skip to content

Commit

Permalink
update text
Browse files Browse the repository at this point in the history
Signed-off-by: ふぁ <[email protected]>
  • Loading branch information
fa0311 committed Nov 22, 2022
1 parent a5e3404 commit 8c7c3cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ print(TwitterFrontendFlow()
.LoginEnterPassword("パスワード").content)
```

### アカウントの安全のために

```python
print(TwitterFrontendFlow()
.login_flow()
.LoginJsInstrumentationSubtask()
.LoginEnterUserIdentifierSSO("電話番号/メールアドレス/ユーザー名")
.LoginEnterPassword("パスワード")
.AccountDuplicationCheck()
.LoginAcid("メールアドレス / メールアドレスのコード").content)
```

## password reset flow

### 通常リセット
Expand Down
2 changes: 1 addition & 1 deletion sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
flow.LoginTwoFactorAuthChallenge(input())
print(flow.get_subtask_ids())
if "LoginAcid" in flow.get_subtask_ids():
print("Enter additional information (e.g. email address)")
print(flow.content["subtasks"][0]["enter_text"]["header"]["secondary_text"]["text"])
flow.LoginAcid(input())
print(flow.get_subtask_ids())
if "LoginSuccessSubtask" in flow.get_subtask_ids():
Expand Down

0 comments on commit 8c7c3cd

Please sign in to comment.