Qzone 配置

pydantic settings qzone3tg.settings.QzoneConf

对应配置文件中的 qzone 项。包含要登录的QQ账户信息和爬虫相关的设置。

Fields:
Validators:
  • consistency_uin » all fields

field block: list[int] | None = None

黑名单 qq. 列表中的用户发布的任何内容会被直接丢弃.

Validated by:
  • consistency_uin

field block_self: bool = True

是否舍弃当前登录账号发布的内容. 等同于在 block 中加入当前 uin

Validated by:
  • consistency_uin

field dayspac: float = 3

最多爬取从现在起多长时间内的说说,以天为单位. 默认为3.

Validated by:
  • consistency_uin

field qr_config: QrLoginConfig [Optional]

二维码登录配置

Added in version 0.7.7.dev2.

Validated by:
  • consistency_uin

field uin: int [Required]

QQ账号

Validated by:
  • consistency_uin

field up_config: UpLoginConfig [Optional]

密码登录配置

Added in version 0.7.7.dev2.

Validated by:
  • consistency_uin

pydantic settings qzone3tg.settings.UpLoginConfig
Fields:
field uin: int = 0

Login uin (qq).

field vcode_timeout: float = 30

等待动态验证码的超时时间,单位秒,默认30。

Added in version 0.4.1a1.

pydantic settings qzone3tg.settings.QrLoginConfig
Fields:
field uin: int = 0

Login uin (qq).