mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-09 11:27:26 +08:00
feat: 快手视频评论爬取done;数据保存到DB、CSV done
This commit is contained in:
5
var.py
5
var.py
@@ -1,4 +1,7 @@
|
||||
from asyncio.tasks import Task
|
||||
from contextvars import ContextVar
|
||||
from typing import List
|
||||
|
||||
request_keyword_var: ContextVar[str] = ContextVar("request_keyword", default="")
|
||||
crawler_type_var: ContextVar[str] = ContextVar("crawler_type", default="")
|
||||
crawler_type_var: ContextVar[str] = ContextVar("crawler_type", default="")
|
||||
comment_tasks_var: ContextVar[List[Task]] = ContextVar("comment_tasks", default=[])
|
||||
|
||||
Reference in New Issue
Block a user