Skip to content

Instantly share code, notes, and snippets.

View kaaaaai's full-sized avatar
🎯
Focus on technology and love

Kaaaaai kaaaaai

🎯
Focus on technology and love
View GitHub Profile
@kaaaaai
kaaaaai / README.md
Created January 21, 2026 05:50 — forked from karakoo/README.md
Retrieving Auth Token (with Playwright)

Retrieving Pixiv Auth Token (with Playwright)

使用 Playwright 来登录 Pixiv ,从而获取 token

使用方法

  1. 下载本脚本 pixiv_auth.py
  2. 安装 playwrightpyotp(两步验证):
pip install playwright
pip install pyotp
@kaaaaai
kaaaaai / mask_email.dart
Created April 15, 2024 07:39 — forked from roipeker/mask_email.dart
Mask Email RegExp for Dart
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