devine-services/services/WTCH/config.yaml
Sp4rk.y e2ea8ea535 (WTCH): add new service integration for watchertv.com
Introduce a new service class WTCH to support watchertv.com.
Includes authentication, title retrieval, and track extraction.
Add configuration file for endpoints and headers.
2024-09-09 17:40:05 -06:00

16 lines
621 B
YAML

endpoints:
login_url: "https://www.watchertv.com/login"
episode_metadata_url: "https://www.watchertv.com/{title_id}"
embed_url_regex: 'embed_url:\s*"([^"]+)"'
config_url_regex: 'config_url":"([^"]+)"'
headers:
referer: "{episode_url}"
user_agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
accept_language: "en-US,en;q=0.5"
upgrade_insecure_requests: "1"
sec_fetch_dest: "iframe"
sec_fetch_mode: "navigate"
sec_fetch_site: "cross-site"