You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add yt-dlp cookies configuration and update documentation (#63)
- Introduced YTDLP_COOKIES_PATH in .env.example, docker-compose files, and config.ts for specifying a cookies file path.
- Updated README.md with instructions on using cookies for yt-dlp to access private or premium content.
- Enhanced config command to display and modify the ytdlpCookiesPath parameter.
- Modified yt-dlp utility to utilize the specified cookies file if provided.
Copy file name to clipboardExpand all lines: .env.example
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@ ADMIN_IDS = ["YOUR_USER_ID_HERE"] # A list of Discord user IDs that are consider
10
10
VIDEOS_DIR="./videos"# The local path where you store video files
11
11
PREVIEW_CACHE_DIR="./tmp/preview-cache"# The local path where your self-bot will cache video preview thumbnails
12
12
13
+
# yt-dlp options
14
+
YTDLP_COOKIES_PATH=""# Path to cookies file for yt-dlp (Netscape format). Used for accessing age-restricted, private, or premium content. Leave empty if not needed.
15
+
13
16
# Stream options
14
17
STREAM_RESPECT_VIDEO_PARAMS="false"# This option is used to respect video parameters such as width, height, fps, bitrate, and max bitrate.
15
18
STREAM_WIDTH="1280"# The width of the video stream in pixels
0 commit comments