Skip to content

Commit 6a57cfa

Browse files
authored
Merge pull request #14 from vishwamartur/add-2fa-note
Add note about 2FA workflow
2 parents 75951ff + 020df17 commit 6a57cfa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ Options:
8585
--help Show this message and exit.
8686
```
8787

88+
## Note on 2FA
89+
90+
When the destination site uses two-factor authentication (2FA), the workflow remains the same. Ensure that you complete the 2FA process and obtain the cookies/auth tokens/session tokens after 2FA. These tokens will be used in the workflow.
91+
8892
## Demo
8993

9094
[![Demo Video](https://img.youtube.com/vi/7OJ4w5BCpQ0/0.jpg)](https://www.youtube.com/watch?v=7OJ4w5BCpQ0)

create_har.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ async def open_browser_and_wait():
2121

2222
input("Press Enter to continue and close the browser...")
2323

24+
# Ensure 2FA is completed before saving cookies
2425
cookies = await context.cookies()
2526

2627
with open("cookies.json", "w") as f:

0 commit comments

Comments
 (0)