Skip to content

Commit

Permalink
Update README and fix typo in example commands for Duolingo usage
Browse files Browse the repository at this point in the history
  • Loading branch information
0125nia authored Dec 28, 2024
1 parent a353800 commit d035423
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,16 @@ github_poster cichang --cichang_user_name ${user_name} --cichang_password ${pass
<summary>Make your <code>多邻国(duolingo)</code> GitHub poster</summary>
<br>

1. login duolingo in broswer
2. console `document.cookie.match(new RegExp('(^| )jwt_token=([^;]+)'))[0].slice(11)` get duolingo_jwt
1. 在网页登录多邻国

2.`F12`在控制台(console)使用 `document.cookie.match(new RegExp('(^| )jwt_token=([^;]+)'))[0].slice(11)` 获取 duolingo_jwt

3. 在多邻国用户主页或 通过地址栏 `https://www.duolingo.cn/profile/{duolingo id}` 获取 duolingo id

```
python3 -m github_poster duolingo --duolingo_user_name ${duolingo_user_name} --duolingo_jwt ${duolingo_jwt} --year 2015-2021
or
github_poster duolingo --duolingo_user_name ${duolingo_user_name} --duolingo_duolingo_jwt ${duolingo_jwt} --year 2015-2021
github_poster duolingo --duolingo_user_name ${duolingo_user_name} --duolingo_jwt ${duolingo_jwt} --year 2015-2021
```
</details>

Expand Down

0 comments on commit d035423

Please sign in to comment.