mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-10-08 15:48:12 +08:00
feat: 完善类型注释,增加 mypy 类型检测
This commit is contained in:
@@ -24,8 +24,8 @@ class XHSLogin(AbstractLogin):
|
||||
login_type: str,
|
||||
browser_context: BrowserContext,
|
||||
context_page: Page,
|
||||
login_phone: str = None,
|
||||
cookie_str: str = None
|
||||
login_phone: str = "",
|
||||
cookie_str: str = ""
|
||||
):
|
||||
self.login_type = login_type
|
||||
self.browser_context = browser_context
|
||||
|
||||
Reference in New Issue
Block a user