feat: 快手视频评论爬取done;数据保存到DB、CSV done

This commit is contained in:
Relakkes
2023-11-26 21:43:39 +08:00
parent 2f8541a351
commit dfb1788141
9 changed files with 197 additions and 52 deletions

5
var.py
View File

@@ -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=[])