Skip to content

Commit

Permalink
重构项目代码
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeanAmier committed Sep 3, 2023
1 parent bc57207 commit 64dfb3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CookieTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
from src.Parameter import TtWid
from src.Parameter import VerifyFp

__all__ = ["Cookie", "Register"]


class Cookie:
pattern = r'(?P<key>[^=;,]+)=(?P<value>[^;,]+)'
Expand Down
2 changes: 2 additions & 0 deletions src/Customizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# from random import randint
# from time import sleep

__all__ = ["MAX_WORKERS", "wait", "failed", "illegal_nickname", "check_login"]

# 线程池最大线程数量,多线程下载文件时使用
# 短期大批量下载文件可以适当设置更大的值
# 长期大批量下载文件不建议设置过大的值,可能会导致下载无响应(可能是抖音端风控)
Expand Down

0 comments on commit 64dfb3a

Please sign in to comment.