使用 Playwright 来登录 Pixiv ,从而获取 token
- 下载本脚本
pixiv_auth.py - 安装
playwright和pyotp(两步验证):
pip install playwright
pip install pyotp使用 Playwright 来登录 Pixiv ,从而获取 token
pixiv_auth.pyplaywright 和 pyotp(两步验证):pip install playwright
pip install pyotp| import 'dart:math'; | |
| void testMaskEmail() { | |
| final emails = [ | |
| 'a@example.com', | |
| // output: a****a@example.com | |
| 'ab@example.com', | |
| // output: a****b@example.com | |
| 'abc@example.com', | |
| // output: a****c@example.com |