Files

20 lines
626 B
Python

import os
from pathlib import Path
from dotenv import load_dotenv
load_dotenv(Path(__file__).resolve().parent / ".env")
TORRENTIO_RD_TOKEN = os.getenv("TORRENTIO_RD_TOKEN", "").strip()
TORRENTIO_CONFIG = os.getenv("TORRENTIO_CONFIG", "language=spanish").strip()
if TORRENTIO_RD_TOKEN:
TORRENTIO_CONFIG_WITH_TOKEN = f"{TORRENTIO_CONFIG}|realdebrid={TORRENTIO_RD_TOKEN}"
else:
TORRENTIO_CONFIG_WITH_TOKEN = TORRENTIO_CONFIG
# Notificaciones SOLO al canal IDD de Telegram (via idd_channel.py del repo negocio)
REPO_NEGOCIO_SCRIPTS = Path(
r"C:\Users\juanm\Documents\GitHub\biblioteca_negocio_prolongo\scripts"
)