Files
MediaCrawler/var.py

4 lines
191 B
Python
Raw Normal View History

2023-08-16 19:49:41 +08:00
from contextvars import ContextVar
request_keyword_var: ContextVar[str] = ContextVar("request_keyword", default="")
crawler_type_var: ContextVar[str] = ContextVar("crawler_type", default="")