12 lines
626 B
Python
12 lines
626 B
Python
from pathlib import Path
|
|
|
|
BASE_DIR = Path(__file__).parent.resolve()
|
|
XHS_SERVER = "http://127.0.0.1:11901" # only used by xhs-related flows
|
|
LOCAL_CHROME_PATH = "" # optional, e.g. C:/Program Files/Google/Chrome/Application/chrome.exe
|
|
LOCAL_CHROME_HEADLESS = True # default headless behavior for uploader/examples
|
|
DEBUG_MODE = True # default debug behavior
|
|
# Optional proxy for the YouTube uploader. Where youtube.com is blocked, direct
|
|
# connections time out and the (patchright) chromium does NOT use the system proxy.
|
|
# Point this at your local proxy port, e.g. "http://127.0.0.1:7890". None = no proxy.
|
|
YT_PROXY = None
|