-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
82 lines (75 loc) · 2.93 KB
/
config.example.yaml
File metadata and controls
82 lines (75 loc) · 2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
database:
path: ./data/streamtime.db
server:
port: 8080
host: 0.0.0.0
services:
netflix:
enabled: true
# To get your cookies:
# 1. Login to Netflix in Chrome/Firefox
# 2. Open DevTools (F12) -> Application/Storage -> Cookies -> https://www.netflix.com
# 3. Copy the values for NetflixId and SecureNetflixId
cookies:
- name: "NetflixId"
value: "your-netflix-id-cookie-value"
- name: "SecureNetflixId"
value: "your-secure-netflix-id-cookie-value"
youtube_tv:
enabled: true
# To get your cookies:
# 1. Login to YouTube TV in Chrome/Firefox
# 2. Open DevTools (F12) -> Application/Storage -> Cookies -> https://tv.youtube.com
# 3. Run backend/cmd/export-cookies to automatically export all Google cookies
# 4. Or manually copy important cookies like SID, HSID, SSID, APISID, SAPISID, __Secure-* cookies
cookies:
- name: "SID"
value: "your-sid-value"
- name: "HSID"
value: "your-hsid-value"
- name: "SSID"
value: "your-ssid-value"
- name: "APISID"
value: "your-apisid-value"
- name: "SAPISID"
value: "your-sapisid-value"
# Add more cookies as needed - the export-cookies tool will show all required cookies
amazon_video:
enabled: true
# RECOMMENDED: Use a persistent Chrome user data directory
# This maintains login sessions across scraper runs without cookie export
# 1. Run: chromium-browser --no-sandbox --user-data-dir=~/.config/chromium-amazon https://www.amazon.com
# 2. Login to Amazon manually
# 3. Close the browser
# 4. Set the path below
user_data_dir: "/home/username/.config/chromium-amazon"
# ALTERNATIVE: Use cookies (less reliable due to session binding)
# cookies:
# - name: "session-id"
# value: "your-session-id-value"
# - name: "ubid-main"
# value: "your-ubid-main-value"
hulu:
enabled: true
# To get your cookies:
# 1. Run: ./backend/export-cookies --service hulu
# 2. Or manually login to Hulu in Chrome/Firefox
# 3. Open DevTools (F12) -> Application/Storage -> Cookies -> https://www.hulu.com
# 4. Copy the values for important cookies (hulu_session, etc.)
cookies:
- name: "hulu_session"
value: "your-hulu-session-value"
# Add more cookies as needed - the export-cookies tool will export all required cookies
scraper:
# Cron format: minute hour day month weekday
# "0 3 * * *" = Daily at 3:00 AM
schedule: "0 3 * * *"
headless: true
timeout: 300 # seconds
user_agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
test_mode: false # When true, only scrapes limited items for testing
test_limit: 100 # Number of items to scrape in test mode
tmdb:
# The Movie Database API key for episode metadata
# Get your API key from: https://www.themoviedb.org/settings/api
api_key: "your-tmdb-api-key"