forked from jiji262/douyin-downloader
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.yml
More file actions
89 lines (75 loc) · 1.87 KB
/
Copy pathconfig.example.yml
File metadata and controls
89 lines (75 loc) · 1.87 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
83
84
85
86
87
88
89
link:
- https://www.douyin.com/user/MS4wLjABAAAA6O7EZyfDRYXxJrUTpf91K3tmB4rBROkAw-nYMfld8ss
# Also supports local file paths:
# - /path/to/video.mp4
# - /path/to/video_directory/
path: ./Downloaded/
music: true
cover: true
avatar: true
json: true
start_time: ""
end_time: ""
folderstyle: true
mode:
- post
number:
post: 1
like: 0
allmix: 0
mix: 0
music: 0
collect: 0
collectmix: 0
increase:
post: false
like: false
allmix: false
mix: false
music: false
thread: 5
retry_times: 3
proxy: ""
database: true
database_path: dy_downloader.db
progress:
quiet_logs: true
# ── Transcript ──
transcript:
enabled: false
# Provider: "openai_api", "local", or "auto"
# openai_api — uses OpenAI-compatible API (default)
# local — uses mlx-whisper (Apple Silicon) or openai-whisper CLI
# auto — tries local first, falls back to openai_api
provider: openai_api
model: gpt-4o-mini-transcribe
local_model: small # for local provider: tiny/base/small/medium/large
language_hint: zh
output_dir: ""
response_formats:
- txt
- json
api_url: https://api.openai.com/v1/audio/transcriptions
api_key_env: OPENAI_API_KEY
api_key: ""
# ── Archive (Markdown output) ──
archive:
enabled: true # generates .md per video when transcript is enabled
output_dir: "" # empty = same directory as transcript output
raw: false # true = skip paragraph formatting
# ── Analysis (JSON summary) ──
analysis:
enabled: true # generates _analysis.json per video when transcript is enabled
output_dir: "" # empty = same directory as transcript output
browser_fallback:
enabled: true
headless: false
max_scrolls: 240
idle_rounds: 8
wait_timeout_seconds: 600
cookies:
msToken: YOUR_MS_TOKEN
ttwid: YOUR_TTWID
odin_tt: YOUR_ODIN_TT
passport_csrf_token: YOUR_CSRF_TOKEN
sid_guard: YOUR_SID_GUARD