MediaCrawler/var.py

4 lines
191 B
Python

from contextvars import ContextVar
request_keyword_var: ContextVar[str] = ContextVar("request_keyword", default="")
crawler_type_var: ContextVar[str] = ContextVar("crawler_type", default="")