MediaCrawler/var.py

4 lines
191 B
Python
Raw Normal View History

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