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