From 82108c29b95bbfbf87eb6c84102fbcb8de93a6da Mon Sep 17 00:00:00 2001 From: HitomaruKonpaku Date: Thu, 26 Dec 2024 12:03:17 +0700 Subject: [PATCH] Update example --- config.example.json | 38 -------------------------------------- config.example.yaml | 25 +------------------------ example/config.yaml | 8 ++++++++ example/yt-dlp.conf | 7 ------- 4 files changed, 9 insertions(+), 69 deletions(-) delete mode 100644 config.example.json delete mode 100644 example/yt-dlp.conf diff --git a/config.example.json b/config.example.json deleted file mode 100644 index c1b30a9..0000000 --- a/config.example.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "twitcasting": { - "interval": 30000, - "users": [ - "nakiriayame" - ] - }, - "youtube": { - "interval": 30000, - "users": [ - "UC7fk0CB07ly8oSl0aqKkqFg" - ] - }, - "webhooks": { - "discord": [ - { - "active": true, - "urls": [ - "https://discord.com/api/webhooks/xxx" - ], - "twitcasting": [ - "" - ], - "youtube": [ - "" - ], - "mentions": { - "roleIds": [ - "xxx" - ], - "userIds": [ - "xxx" - ] - } - } - ] - } -} diff --git a/config.example.yaml b/config.example.yaml index 41f7d8c..4a3c868 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -2,17 +2,6 @@ # Output directory (default to current working folder) # output: d:/downloads -# Additional yt-dlp options -ytdlOptions: -# - --config-location -# - d:/yt-dlp/yt-dlp.conf -# - -f -# - "bestvideo*+bestaudio/best" -# - -o -# - "./download/%(id)s.%(ext)s" -# - --cookies-from-browser -# - chrome - # Additional streamlink options streamlinkOptions: # - --http-cookie @@ -26,12 +15,6 @@ twitcasting: users: - nakiriayame -youtube: - # Refresh interval in millisecond - interval: 30000 - users: - - UC7fk0CB07ly8oSl0aqKkqFg # Nakiri Ayame Ch. 百鬼あやめ - webhooks: discord: - active: true @@ -39,10 +22,4 @@ webhooks: - https://discord.com/api/webhooks/xxx twitcasting: - - youtube: - - - mentions: - roleIds: - - "xxx" - userIds: - - "xxx" + message: "<@153363129915539457>" diff --git a/example/config.yaml b/example/config.yaml index 178dc5f..03b3cc2 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -1,5 +1,13 @@ --- +# Additional streamlink options +streamlinkOptions: + - --http-cookie + - tc_id=xxx + - --http-cookie + - tc_ss=xxx + twitcasting: + # Refresh interval in millisecond interval: 10000 users: - nakiriayame diff --git a/example/yt-dlp.conf b/example/yt-dlp.conf deleted file mode 100644 index 4f4fd20..0000000 --- a/example/yt-dlp.conf +++ /dev/null @@ -1,7 +0,0 @@ ---verbose - ---cookies "/cookies.txt" - ---write-info-json ---write-thumbnail ---embed-thumbnail