-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathyt-test.yml
41 lines (38 loc) · 1.62 KB
/
yt-test.yml
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
feeds:
yt-example:
title: Some cool channels
description: an example of youtube-based podcast
link: http://example.com
language: "ru-ru"
image: images/yt-example.png
telegram_channel: udev_test
sources:
- name: Точка
url: http://localhost:8080/yt/rss/PLZVQqcKxEn_6YaOniJmxATjODSVUbbMkd
- name: Живой Гвоздь
url: http://localhost:8080/yt/rss/UCWAIvx2yYLK_xTYD4F2mUNw
- name: Дилетант
url: http://localhost:8080/yt/rss/UCuIE7-5QzeAR6EdZXwDRwuQ
- name: Сергей Асланян
url: http://localhost:8080/yt/rss/UCPemWOA2UiBwhTauetmz95w
youtube:
base_url: http://localhost:8080/yt/media
dl_template: yt-dlp --extract-audio --audio-format=mp3 --audio-quality=0 -f m4a/bestaudio "https://www.youtube.com/watch?v={{.ID}}" --no-progress -o {{.FileName}} --match-filter "!is_live"
base_chan_url: "https://www.youtube.com/feeds/videos.xml?channel_id="
base_playlist_url: "https://www.youtube.com/feeds/videos.xml?playlist_id="
update: 60s
max_per_channel: 2
files_location: ./var/yt
rss_location: ./var/rss
skip_shorts: 120s
channels:
- {id: UCWAIvx2yYLK_xTYD4F2mUNw, name: "Живой Гвоздь", lang: "ru-ru", keep: 5}
- {id: UCuIE7-5QzeAR6EdZXwDRwuQ, name: "Дилетант", type: "channel", lang: "ru-ru"}
- {id: PLZVQqcKxEn_6YaOniJmxATjODSVUbbMkd, name: "Точка", type: "playlist", lang: "ru-ru"}
- {id: UCPemWOA2UiBwhTauetmz95w, name: "Сергей Асланян", type: "channel", lang: "ru-ru"}
system:
update: 1m
max_per_feed: 10
max_total: 50
max_keep: 1000
base_url: http://localhost:8080